Skip to content

Commit

Permalink
Merge pull request #916 from GSA-TTS/main
Browse files Browse the repository at this point in the history
Production merge 2023-03-30
  • Loading branch information
tadhg-ohiggins authored Mar 30, 2023
2 parents 19d240d + b6914be commit 26abb8e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/triggers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ jobs:
# deploy to production
scan-staging:
name: Zap scan of the staging site
if: github.event.ref == 'refs/tags/v1.*'
if: startsWith(github.ref, 'refs/tags/v')
uses: ./.github/workflows/zap-scan.yml
with:
url: "https://fac-staging.app.cloud.gov/"

deploy-infrastructure-production:
name: Deploy infrastructure (production)
if: github.event.ref == 'refs/tags/v1.*'
if: startsWith(github.ref, 'refs/tags/v')
needs:
- test-and-lint
- scan-staging
Expand All @@ -99,7 +99,7 @@ jobs:

deploy-production:
name: Deploy production to cloud.gov
if: github.event.ref == 'refs/tags/v1.*'
if: startsWith(github.ref, 'refs/tags/v')
needs:
- deploy-infrastructure-production
uses: ./.github/workflows/deploy-apps.yml
Expand All @@ -109,7 +109,7 @@ jobs:

scan-production-post-deploy:
name: Zap scan of the production site
if: github.event.ref == 'refs/tags/v1.*'
if: startsWith(github.ref, 'refs/tags/v')
needs:
- deploy-production
uses: ./.github/workflows/zap-scan.yml
Expand Down

0 comments on commit 26abb8e

Please sign in to comment.