Skip to content

Commit

Permalink
chore(): added the 'cd terraform' to steps to ensure correct working …
Browse files Browse the repository at this point in the history
…directory
  • Loading branch information
Arielpetit committed Nov 22, 2024
1 parent be6cbb1 commit 5e46e7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ jobs:
run: cd terraform && terraform validate

- name: Terraform Plan
run: terraform plan -out=plan.tfplan
run: cd terraform && terraform plan -out=plan.tfplan

- name: Terraform Apply
if: github.ref_name == 'setup-workflow'
run: terraform apply -auto-approve plan.tfplan
run: cd terraform && terraform apply -auto-approve plan.tfplan

0 comments on commit 5e46e7c

Please sign in to comment.