We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 585b73d commit 5183ddaCopy full SHA for 5183dda
.github/workflows/ci.yml
@@ -40,10 +40,10 @@ jobs:
40
BRANCH=$(git rev-parse --abbrev-ref HEAD)
41
42
# 根据分支名称部署相应的文档版本
43
- if [ "$BRANCH" == "deploy_in_gitpage" ]; then
44
- ALIAS_VERSION="latest"
+ if [ "$BRANCH" == "develop" ]; then
+ ALIAS_VERSION="develop"
45
mike deploy --push --update-aliases $ALIAS_VERSION
46
- mike set-default --push latest
+ mike set-default --push develop
47
elif [ "$BRANCH" == "release/1.2" ]; then
48
ALIAS_VERSION="release-1.2"
49
0 commit comments