Skip to content

Commit 804f1bf

Browse files
committed
ci: fix mike issue
1 parent 7604809 commit 804f1bf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/docs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,16 @@ jobs:
5353
run: |
5454
VERSION="${{ steps.version.outputs.version }}"
5555
56-
# always deploy the version (prereleases included)
56+
# deploy
5757
uv run --group docs mike deploy --push "$VERSION"
5858
59-
# only update aliases + default if it's NOT a prerelease
59+
# stable releases only
6060
if [[ "$VERSION" != *-* ]]; then
61-
echo "Updating 'latest' alias to $VERSION"
61+
echo "Setting 'latest' $VERSION"
6262
uv run --group docs mike alias latest "$VERSION" --push
6363
64-
echo "Setting default to $VERSION"
64+
echo "Setting default $VERSION"
6565
uv run --group docs mike set-default "$VERSION" --push
6666
else
67-
echo "Skipping alias+default: $VERSION is a prerelease"
67+
echo "Prerelease: no alias, no default"
6868
fi

0 commit comments

Comments
 (0)