From 8f5e874d6b6f5bdd9cfcf6f6f66e843275987862 Mon Sep 17 00:00:00 2001 From: dream <13432095+dream-deve@user.noreply.gitee.com> Date: Wed, 28 May 2025 07:56:03 +0000 Subject: [PATCH] update fetch.yml --- .workflow/fetch.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.workflow/fetch.yml b/.workflow/fetch.yml index 9f80d3e..f451696 100644 --- a/.workflow/fetch.yml +++ b/.workflow/fetch.yml @@ -23,7 +23,8 @@ stages: displayName: fetchurl nodeVersion: 21.5.0 commands: - - git clone https://dream-deve:${TOKEN}@gitee.com/dream-deve/migu_video.git + - '# git clone https://dream-deve:${TOKEN}@gitee.com/dream-deve/migu_video.git' + - git clone https://develop202:${GITHUB_TOKEN}@github.com/develop202/migu_video.git - cd migu_video - '# 设置NPM源,提升安装速度' - npm config set registry https://registry.npmmirror.com @@ -34,7 +35,8 @@ stages: - git add . - '# gitee流水线提交 ' - git diff --quiet && git diff --staged --quiet || git commit -m "Update by Gitee流水线" - - git push -f https://dream-deve:${TOKEN}@gitee.com/dream-deve/migu_video.git main:main + - '# git push -f https://dream-deve:${TOKEN}@gitee.com/dream-deve/migu_video.git main:main' + - git push strategy: retry: '0' timeout: 2