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,10 +77,10 @@ jobs:
run: terraform plan -var-file=${STAGE}.tfvars -out=tfplan
- name: Terraform Apply
if: env.STAGE == 'prod'
if: env.TERRAFORM_APPLY == 'true'
working-directory: infrastructure/terraform/shared
run: terraform apply -auto-approve tfplan
# ============================================================
# 2⃣ Build Address 2 UPRN image and Push
# ============================================================