Deploy to Preview Environment #370
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Deploy to Preview Environment | |
on: | |
workflow_dispatch: | |
jobs: | |
# testing: | |
# uses: ./.github/workflows/testing-from-ghcr.yml | |
# secrets: inherit | |
# linting: | |
# uses: ./.github/workflows/linting.yml | |
# secrets: inherit | |
deploy-infrastructure-preview: | |
name: Deploy infrastructure (preview) | |
# needs: | |
# - testing | |
# - linting | |
uses: ./.github/workflows/terraform-apply-env.yml | |
with: | |
environment: "preview" | |
autoapprove: true | |
secrets: inherit | |
# deploy-preview: | |
# name: Deploy application | |
# needs: | |
# - deploy-infrastructure-preview | |
# uses: ./.github/workflows/deploy-application.yml | |
# with: | |
# environment: "preview" | |
# secrets: inherit | |
# scan-preview-post-deploy: | |
# name: Zap Scan | |
# needs: | |
# - deploy-preview | |
# uses: ./.github/workflows/zap-scan.yml | |
# with: | |
# url: "https://fac-preview.app.cloud.gov/" |