diff --git a/.workflow/pipeline-20250519.yml b/.workflow/pipeline-20250519.yml new file mode 100644 index 0000000..9fb2657 --- /dev/null +++ b/.workflow/pipeline-20250519.yml @@ -0,0 +1,38 @@ +version: '1.0' +name: pipeline-20250519 +displayName: update +triggers: + trigger: auto + schedule: + - cron: '* 45 7 * * ? *' +variables: + global: + - TOKEN +stages: + - name: stage-4dbf7714 + displayName: updateurl + strategy: naturally + trigger: auto + executor: [] + steps: + - step: build@nodejs + name: refresh + displayName: refresh + 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 + caches: [] + notify: [] + strategy: + retry: '0' + timeout: 2