[EC-357] - Move application gateway from core to modules (#1149) #6
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: PR - Common TF Apply | |
# This pipeline starts automatically when a PR is merged into 'main'. | |
# | |
# It is responsible for managing changes related solely to the NEW infrastructure, | |
# ensuring that changes have occurred exclusively within the directories listed in "paths." | |
# | |
## NOTE: 'NEW infrastructure' refers to the new Terraform infrastructure located in the src/common/prod folder, which no longer requires the terraform.sh script to be applied. | |
# | |
# This pipeline first executes a plan and then an apply, which must be approved by the team. | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- "src/common/prod/**" | |
- "src/common/_modules/**" | |
- ".github/workflows/common_deploy.yaml" | |
jobs: | |
prod_itn_common_deploy: | |
uses: pagopa/dx/.github/workflows/infra_apply.yaml@main | |
name: Prod - Code Deploy | |
secrets: inherit | |
with: | |
environment: prod | |
base_path: src/common |