only run on branches it was told to

This commit is contained in:
Jun-te Kim 2026-02-16 15:50:01 +00:00
parent 9f6d61b178
commit 42cac34357

View file

@ -77,7 +77,7 @@ jobs:
run: terraform plan -var-file=${STAGE}.tfvars -out=tfplan run: terraform plan -var-file=${STAGE}.tfvars -out=tfplan
- name: Terraform Apply - name: Terraform Apply
if: env.STAGE == 'prod' if: env.TERRAFORM_APPLY == 'true'
working-directory: infrastructure/terraform/shared working-directory: infrastructure/terraform/shared
run: terraform apply -auto-approve tfplan run: terraform apply -auto-approve tfplan