Skip to content

Commit

Permalink
cd: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
brunograna committed May 23, 2024
1 parent 708a6a6 commit cfe358e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,11 @@ jobs:
terraform workspace select prod
- name: Terraform Plan for Prod
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
id: terraform-plan-prod
run: cd infra && terraform plan -var-file="./envs/prod/terraform.tfvars" -out=prod.plan

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

0 comments on commit cfe358e

Please sign in to comment.