Skip to content

Commit d9f8a38

Browse files
authored
action.yaml fix
1 parent 1ae2997 commit d9f8a38

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

action.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,14 +189,14 @@ runs:
189189
echo ${{ steps.apply.outputs.public_url }} >> $GITHUB_STEP_SUMMARY
190190
191191
- name: Print result
192-
if: ${{ success() inputs.tf_action == 'destroy' && inputs.tf_state_bucket_destroy == 'true' }}
192+
if: ${{ success() && inputs.tf_action == 'destroy' && inputs.tf_state_bucket_destroy == 'true' }}
193193
shell: bash
194194
run: |
195195
echo "## Deploy Destroyed! :boom:" >> $GITHUB_STEP_SUMMARY
196196
echo "Infrastructure should be gone now!" >> $GITHUB_STEP_SUMMARY
197197
198-
- name: Print result
199-
if: ${{ success() inputs.tf_action == 'destroy' && inputs.tf_state_bucket_destroy != 'true' }}
198+
- name: Print result
199+
if: ${{ success() && inputs.tf_action == 'destroy' && inputs.tf_state_bucket_destroy != 'true' }}
200200
shell: bash
201201
run: |
202202
echo "## Deploy Destroyed! :boom:" >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)