Skip to content

Commit

Permalink
ci: update terraform destroy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
geloman committed Nov 19, 2024
1 parent 560dcdc commit 2d8488e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/terraform-destroy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jobs:
- name: Terraform Validate
run: terraform validate

- run: echo "DROPLET_SIZE=$(terraform output -raw droplet_size || true)" >> $GITHUB_ENV
- run: echo "DROPLET_SIZE=$(terraform output -raw droplet_size 2>/dev/null || echo "")" >> $GITHUB_ENV

- name: Terraform Destroy
run: terraform destroy -auto-approve
env:
Expand Down

0 comments on commit 2d8488e

Please sign in to comment.