Skip to content

Commit f26cfe2

Browse files
committed
tidy CI failure cleanup
1 parent 944e05d commit f26cfe2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/stackhpc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@ jobs:
6666
cd $APPLIANCES_ENVIRONMENT_ROOT/terraform
6767
terraform apply -auto-approve
6868
69-
- name: Delete infrastructure if provisioning failed or run cancelled
69+
- name: Delete infrastructure if provisioning failed
7070
run: |
7171
. venv/bin/activate
7272
. environments/.stackhpc/activate
7373
cd $APPLIANCES_ENVIRONMENT_ROOT/terraform
7474
terraform destroy -auto-approve
75-
if: always() && steps.provision_servers.outcome == 'failure'
75+
if: failure() && steps.provision_servers.outcome == 'failure'
7676

7777
- name: Configure cluster
7878
run: |

0 commit comments

Comments
 (0)