Skip to content

Commit 5183dda

Browse files
fix ci.yml
1 parent 585b73d commit 5183dda

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ jobs:
4040
BRANCH=$(git rev-parse --abbrev-ref HEAD)
4141
4242
# 根据分支名称部署相应的文档版本
43-
if [ "$BRANCH" == "deploy_in_gitpage" ]; then
44-
ALIAS_VERSION="latest"
43+
if [ "$BRANCH" == "develop" ]; then
44+
ALIAS_VERSION="develop"
4545
mike deploy --push --update-aliases $ALIAS_VERSION
46-
mike set-default --push latest
46+
mike set-default --push develop
4747
elif [ "$BRANCH" == "release/1.2" ]; then
4848
ALIAS_VERSION="release-1.2"
4949
mike deploy --push --update-aliases $ALIAS_VERSION

0 commit comments

Comments
 (0)