Skip to content

Commit cfe358e

Browse files
committed
cd: debug
1 parent 708a6a6 commit cfe358e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/terraform.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,11 @@ jobs:
6666
terraform workspace select prod
6767
6868
- name: Terraform Plan for Prod
69+
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
6970
id: terraform-plan-prod
7071
run: cd infra && terraform plan -var-file="./envs/prod/terraform.tfvars" -out=prod.plan
7172

7273
- name: Terraform Apply for Prod
73-
id: terraform-apply-prod
7474
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
75+
id: terraform-apply-prod
7576
run: cd infra && terraform apply "prod.plan"

0 commit comments

Comments
 (0)