Skip to content

Commit

Permalink
Add terratrash action and update erb_render_template path
Browse files Browse the repository at this point in the history
  • Loading branch information
GrantBirki committed Mar 5, 2024
1 parent a078d85 commit eed819c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/branch-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ jobs:
- name: terratrash
if: ${{ steps.branch-deploy.outputs.continue == 'true' }}
uses: GrantBirki/[email protected]
with:
input_file_path: terraform/terraform-output.txt
erb_render_template: ./github/deployment_message.md
erb_render_save_path: ./github/deployment_message.md

- name: Check Terraform plan output
if: ${{ steps.branch-deploy.outputs.continue == 'true' && steps.branch-deploy.outputs.noop == 'true' && steps.plan.outcome == 'failure' }}
Expand Down

0 comments on commit eed819c

Please sign in to comment.