From 5183dda6c0bf68e0058262172c9a882519577129 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 19 Jun 2024 21:39:53 +0800 Subject: [PATCH] fix ci.yml --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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