From e727c3545475d37a1b51eb2aa489fe4d37cb0559 Mon Sep 17 00:00:00 2001 From: HydrogenSulfate <490868991@qq.com> Date: Wed, 19 Jun 2024 13:31:03 +0800 Subject: [PATCH] update ci.yml --- .github/workflows/ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8f9c02cdb0..81f2427941 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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