ci: decouple production deploy from smoke gate
continue-on-error is not supported on reusable workflow (uses:) job calls — the workflow was failing at setup with no jobs spawned. Fix: remove smoke from deploy-production needs. Smoke tests still run in parallel (for visibility) but production no longer waits on them. Re-add smoke to needs once peptide-e2e suite is stable and exercising staging.
This commit is contained in:
3
.github/workflows/deploy.yml
vendored
3
.github/workflows/deploy.yml
vendored
@@ -69,7 +69,6 @@ jobs:
|
|||||||
smoke:
|
smoke:
|
||||||
name: Smoke tests (staging)
|
name: Smoke tests (staging)
|
||||||
needs: deploy-staging
|
needs: deploy-staging
|
||||||
continue-on-error: true # peptide-e2e e2e suite not yet wired; remove when tests exist
|
|
||||||
uses: peptiderepo/peptide-e2e/.github/workflows/smoke.yml@main
|
uses: peptiderepo/peptide-e2e/.github/workflows/smoke.yml@main
|
||||||
secrets:
|
secrets:
|
||||||
STAGING_WP_ADMIN_USER: ${{ secrets.STAGING_WP_ADMIN_USER }}
|
STAGING_WP_ADMIN_USER: ${{ secrets.STAGING_WP_ADMIN_USER }}
|
||||||
@@ -77,7 +76,7 @@ jobs:
|
|||||||
|
|
||||||
deploy-production:
|
deploy-production:
|
||||||
name: Deploy to Production
|
name: Deploy to Production
|
||||||
needs: [validate, deploy-staging, smoke]
|
needs: [validate, deploy-staging] # smoke is informational; not gating prod until e2e suite is stable
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: production
|
environment: production
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user