Browse Source

Merge pull request #2222 from gravitl/GRA-1547

Gra 1547 - delete droplet workflow
Alex Feiszli 2 years ago
parent
commit
8d5a2ef796
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .github/workflows/deletedroplets.yml

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

@@ -20,7 +20,7 @@ jobs:
             "https://api.digitalocean.com/v2/droplets?tag_name=$TAG"
             "https://api.digitalocean.com/v2/droplets?tag_name=$TAG"
         env:
         env:
           DIGITALOCEAN_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }}
           DIGITALOCEAN_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }}
-          TAG: ${{ github.event.workflow_run.run_id }}-${{ github.event.workflow_run.run_attempt }}
+          TAG: ${{ github.event.workflow_run.id }}-${{ github.event.workflow_run.run_attempt }}
 
 
   on-failure:
   on-failure:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
@@ -35,4 +35,4 @@ jobs:
             "https://api.digitalocean.com/v2/droplets?tag_name=$TAG"
             "https://api.digitalocean.com/v2/droplets?tag_name=$TAG"
         env:
         env:
           DIGITALOCEAN_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }}
           DIGITALOCEAN_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }}
-          TAG: ${{ github.event.workflow_run.run_id }}-${{ github.event.workflow_run.run_attempt }}
+          TAG: ${{ github.event.workflow_run.id }}-${{ github.event.workflow_run.run_attempt }}