From 70d5fb3362d148ea59fce15cdccad1830b180d22 Mon Sep 17 00:00:00 2001 From: dream <13432095+dream-deve@user.noreply.gitee.com> Date: Sun, 18 May 2025 23:39:27 +0000 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=20.workflo?= =?UTF-8?q?w/update.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .workflow/update.yml | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 .workflow/update.yml diff --git a/.workflow/update.yml b/.workflow/update.yml deleted file mode 100644 index a7b6c0d..0000000 --- a/.workflow/update.yml +++ /dev/null @@ -1,35 +0,0 @@ -version: '1.0' -name: fetch -displayName: fetch -triggers: - trigger: auto - schedule: - - cron: '* 0 */3 * * ? *' -variables: - global: - - TOKEN -stages: - - name: fetchurl - displayName: fetchurl - strategy: naturally - trigger: auto - steps: - - step: build@nodejs - name: fetch_url - displayName: fetch_url - nodeVersion: 21.5.0 - commands: - - '# 设置NPM源,提升安装速度' - - npm config set registry https://registry.npmmirror.com - - '# 执行编译命令 ' - - npm install && node fetchURLByWasm.js - - git config user.name "Gitee流水线" - - git config user.email "actions@githee.com" - - git add . - - '# gitee流水线提交 ' - - git diff --quiet && git diff --staged --quiet || git commit -m "Update by Gitee流水线" - - git remote set-url origin https://dream-deve:${TOKEN}@gitee.com/dream-deve/migu_video.git - - git push -u origin main - strategy: - retry: '0' - timeout: 2