We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 881265c commit 944e05dCopy full SHA for 944e05d
.github/workflows/stackhpc.yml
@@ -66,13 +66,13 @@ jobs:
66
cd $APPLIANCES_ENVIRONMENT_ROOT/terraform
67
terraform apply -auto-approve
68
69
- - name: Delete infrastructure if failed due to lack of hosts
+ - name: Delete infrastructure if provisioning failed or run cancelled
70
run: |
71
. venv/bin/activate
72
. environments/.stackhpc/activate
73
74
terraform destroy -auto-approve
75
- if: ${{ steps.provision_servers.outcome == 'failure' }}
+ if: always() && steps.provision_servers.outcome == 'failure'
76
77
- name: Configure cluster
78
0 commit comments