Skip to content

Commit

Permalink
fix ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jun 19, 2024
1 parent 585b73d commit 5183dda
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ jobs:
BRANCH=$(git rev-parse --abbrev-ref HEAD)
# 根据分支名称部署相应的文档版本
if [ "$BRANCH" == "deploy_in_gitpage" ]; then
ALIAS_VERSION="latest"
if [ "$BRANCH" == "develop" ]; then
ALIAS_VERSION="develop"
mike deploy --push --update-aliases $ALIAS_VERSION
mike set-default --push latest
mike set-default --push develop
elif [ "$BRANCH" == "release/1.2" ]; then
ALIAS_VERSION="release-1.2"
mike deploy --push --update-aliases $ALIAS_VERSION
Expand Down

0 comments on commit 5183dda

Please sign in to comment.