Skip to content

Commit 33654fc

Browse files
authored
Don't publish docs as latest on new beta git tag (#121)
1 parent 58aa544 commit 33654fc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/docs.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,10 @@ jobs:
6161
# (usually the git tag will have v as the first character)
6262
# Note the `cut` index is 1-ordered
6363
if echo $VERSION | cut -c 2- | grep -q "[A-Za-z]"; then
64-
uv run mike deploy $VERSION latest --update-aliases --push
65-
else
64+
echo "Is beta version"
6665
# For beta versions publish but don't set as latest
6766
uv run mike deploy $VERSION --update-aliases --push
67+
else
68+
echo "Is NOT beta version"
69+
uv run mike deploy $VERSION latest --update-aliases --push
6870
fi

0 commit comments

Comments
 (0)