This commit is contained in:
test
2025-05-18 13:23:19 +08:00
parent 44dcf3970c
commit 3226e01269
2 changed files with 5 additions and 61 deletions

View File

@@ -22,37 +22,11 @@ stages:
- 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 .
- git diff --quiet && git diff --staged --quiet || git commit -m "Update by Gitee流水线"
- git push
strategy:
retry: '0'
timeout: 5
- name: push_repo
displayName: push_repo
strategy: naturally
trigger: auto
executor: []
steps:
- step: build@nodejs
name: push_repo
displayName: push_repo
nodeVersion: 21.5.0
commands:
- '# actions提交'
- git config user.name "Gitee Actions"
- git config user.email "actions@githee.com"
- '# echo "开始执行" >> interface.txt.bak'
- git add .
- git diff --quiet && git diff --staged --quiet || git commit -m "Update by Gitee Actions"
- git push
- ''
artifacts:
- name: BUILD_ARTIFACT
path:
- ./dist
caches:
- ~/.npm
- ~/.yarn
notify: []
strategy:
retry: '0'
timeout: 1