Quellcode durchsuchen

Update deletedroplets.yml (#2379)

Matthew R Kasun vor 2 Jahren
Ursprung
Commit
dd408332d3
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      .github/workflows/deletedroplets.yml

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

@@ -35,7 +35,7 @@ jobs:
         if: success() || failure()
         run: |
           sleep 15m
-          curl -X GET \
+          curl -X DELETE \
             -H "Content-Type: application/json" \
             -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \
             "https://api.digitalocean.com/v2/droplets?tag_name=$TAG"
@@ -80,7 +80,7 @@ jobs:
         if: success() || failure()
         run: |
           sleep 5h
-          curl -X GET \
+          curl -X DELETE \
             -H "Content-Type: application/json" \
             -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \
             "https://api.digitalocean.com/v2/droplets?tag_name=$TAG"