feat(ci): deploy job增加独立concurrency,部署排队不打断 #423

Merged
xiaoxia merged 1 commits from feat/ci-deploy-concurrency into develop 2026-07-16 21:04:06 +08:00
+6
View File
@@ -159,6 +159,9 @@ jobs:
name: Deploy Staging (Watchtower auto-deploy)
runs-on: saas
timeout-minutes: 15
concurrency:
group: deploy-staging-${{ gitea.ref }}
cancel-in-progress: false
needs:
- build-staging
if: github.event_name == 'push' && (github.ref_name == 'main' || github.ref_name == 'develop')
@@ -594,6 +597,9 @@ jobs:
name: Deploy Production
runs-on: saas
timeout-minutes: 30
concurrency:
group: deploy-production-${{ gitea.ref }}
cancel-in-progress: false
if: startsWith(github.ref, 'refs/tags/v')
needs:
- build-production