Skip to content

Commit

Permalink
use develop instead of latest
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jun 19, 2024
1 parent 02b9fe3 commit 8f2cf3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ jobs:
# 根据分支名称部署相应的文档版本
if [ "$BRANCH" == "develop" ]; then
ALIAS_VERSION="latest"
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 8f2cf3f

Please sign in to comment.