diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 43f4097a4..350491543 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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