修复 Gitea 工作流 YAML 解析错误
自动发布开发环境 Nacos 配置 / publish (push) Failing after 30s

This commit is contained in:
2026-10-16 10:08:20 +08:00
parent d2a2840fa8
commit af85d6320d
12 changed files with 133 additions and 36 deletions
+4 -2
View File
@@ -25,7 +25,8 @@ jobs:
steps:
- name: 检出提交
shell: bash
env: { GITEA_TOKEN: ${{ secrets.GITHUB_TOKEN }} }
env:
GITEA_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -euo pipefail
git init .
@@ -34,7 +35,8 @@ jobs:
git checkout --detach "$GITHUB_SHA"
- name: 发布并校验 Nacos
shell: bash
env: { GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} }
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -euo pipefail
trap 'AUTO_ROLLBACK=true RELEASE_ENVIRONMENT=prod node .gitea/scripts/dispatch-workflow.mjs rollback-prod-nacos.yml refs/heads/prod || true' ERR