ci(deploy): promote smoke to a production gate #10

Merged
peptiderepo merged 1 commits from claude/gate-smoke-20260609 into main 2026-06-09 15:28:42 +00:00
Showing only changes of commit 4a26bfaa4d - Show all commits

View File

@@ -79,7 +79,10 @@ jobs:
deploy-production:
name: Deploy to Production
needs: [deploy-staging]
# Smoke is now a GATE: a smoke FAILURE blocks production. A deliberately
# skipped smoke (run_smoke: false) still allows prod via the if-condition.
needs: [deploy-staging, smoke]
if: ${{ !cancelled() && needs.deploy-staging.result == 'success' && needs.smoke.result != 'failure' }}
runs-on: ubuntu-latest
environment: production
steps: