Skip to content

Commit f9ebce5

Browse files
only set default to latest when current branch is develop
1 parent 14456bf commit f9ebce5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
if [ "$BRANCH" == "deploy_in_gitpage" ]; then
4444
ALIAS_VERSION="latest"
4545
mike deploy --push --update-aliases $ALIAS_VERSION
46+
mike set-default --push latest
4647
elif [ "$BRANCH" == "release/1.2" ]; then
4748
ALIAS_VERSION="release-1.2"
4849
mike deploy --push --update-aliases $ALIAS_VERSION
@@ -56,5 +57,3 @@ jobs:
5657
ALIAS_VERSION="ai4s_universal_platform"
5758
mike deploy --push --update-aliases $ALIAS_VERSION
5859
fi
59-
60-
mike set-default --push latest

0 commit comments

Comments
 (0)