diff --git a/.github/workflows/destroy-integ-test-cluster.yaml b/.github/workflows/destroy-integ-test-cluster.yaml index ce18afa..8f377bf 100644 --- a/.github/workflows/destroy-integ-test-cluster.yaml +++ b/.github/workflows/destroy-integ-test-cluster.yaml @@ -2,23 +2,25 @@ name: destroy-integ-test-cluster on: workflow_dispatch: + push: + branches: + - philippsauter/gh-action-delete-test-cluster jobs: destroy-integ-test-cluster: runs-on: ubuntu-latest steps: - - name: Tag Docker Image + - name: Install exo CLI run: | curl -fsSL https://raw.githubusercontent.com/exoscale/cli/master/install-latest.sh | sh - - name: run integ tests + - name: delete the integ test cluster run: | exo compute sks delete \ -n \ -f csi-pr-integ-test \ -z ch-gva-2 - shell: bash env: EXOSCALE_API_KEY: ${{ secrets.EXOSCALE_API_KEY_IAMV3 }} EXOSCALE_API_SECRET: ${{ secrets.EXOSCALE_API_SECRET_IAMV3 }}