Skip to content

Commit

Permalink
update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
HydrogenSulfate committed Jun 19, 2024
1 parent 2234a8d commit e727c35
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,9 @@ jobs:
# 根据分支名称部署相应的文档版本
if [ "$BRANCH" == "deploy_in_gitpage" ]; then
VERSION="latest"
VERSION="develop"
mike deploy --push --update-aliases $VERSION
# 设置 latest 为默认版本
mike set-default --push latest
mike set-default --push develop
elif [ "$BRANCH" == "release/1.2" ]; then
VERSION="release-1.2"
mike deploy --push --update-aliases $VERSION
Expand Down

0 comments on commit e727c35

Please sign in to comment.