Browse Source

always delete droplets

Matthew R Kasun 2 years ago
parent
commit
71c0e490e6
1 changed files with 2 additions and 0 deletions
  1. 2 0
      .github/workflows/deletedroplets.yml

+ 2 - 0
.github/workflows/deletedroplets.yml

@@ -35,6 +35,7 @@ jobs:
           message: "droplets from this workflow will be deleted in 15 min"
           file: ./server/serverinfo.txt
       - name: delete droplets
+        if: success() || failure()
         run: |
           sleep 15m
           curl -X GET \
@@ -82,6 +83,7 @@ jobs:
           message: "errors from ${{ github.event.workflow_run.name }}"
           file: ./results/errors.log
       - name: delete droplets
+        if: success() || failure()
         run: |
           sleep 6h
           curl -X GET \