|
@@ -53,7 +53,7 @@ jobs:
|
|
webhook_token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }}
|
|
webhook_token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }}
|
|
color: "#990000"
|
|
color: "#990000"
|
|
username: "GitHub Bot"
|
|
username: "GitHub Bot"
|
|
- message: "${{ github.repository }}: ${{ github.event.workflow_run.name }} failed: droplets from this workflow (tag ${{ github.event.workflow_run.id }}-${{ github.event.workflow_run.run_attempt}}) will be deleted in 6 hours"
|
|
|
|
|
|
+ message: "${{ github.repository }}: ${{ github.event.workflow_run.name }} failed: droplets from this workflow (tag ${{ github.event.workflow_run.id }}-${{ github.event.workflow_run.run_attempt}}) will be deleted in 5 hours"
|
|
file: ./results/results.log
|
|
file: ./results/results.log
|
|
- name: discord error message
|
|
- name: discord error message
|
|
uses: appleboy/discord-action@master
|
|
uses: appleboy/discord-action@master
|
|
@@ -67,7 +67,7 @@ jobs:
|
|
- name: delete droplets
|
|
- name: delete droplets
|
|
if: success() || failure()
|
|
if: success() || failure()
|
|
run: |
|
|
run: |
|
|
- sleep 6h
|
|
|
|
|
|
+ sleep 5h
|
|
curl -X GET \
|
|
curl -X GET \
|
|
-H "Content-Type: application/json" \
|
|
-H "Content-Type: application/json" \
|
|
-H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \
|
|
-H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \
|