Skip to content

Commit a91b4a3

Browse files
committed
ci: Improve mike version titles
Now use the full tag name for tags, and for branches add a short SHA, so users know the exact version of the documentation they are reading. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 8d8c636 commit a91b4a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,9 +353,10 @@ jobs:
353353
if: steps.mike-version.outputs.version
354354
env:
355355
VERSION: ${{ steps.mike-version.outputs.version }}
356+
TITLE: ${{ steps.mike-version.outputs.title }}
356357
ALIASES: ${{ steps.mike-version.outputs.aliases }}
357358
run: |
358-
mike deploy --update-aliases "$VERSION" $ALIASES
359+
mike deploy --update-aliases --title "$TITLE" "$VERSION" $ALIASES
359360
360361
- name: Sort site versions
361362
if: steps.mike-version.outputs.version

0 commit comments

Comments
 (0)