Add retry mechanism to GitHub Actions workflow

This commit is contained in:
Víctor Falcón 2025-11-26 13:05:05 +01:00
parent 7b20798a39
commit 7773c97b0a
1 changed files with 5 additions and 0 deletions

View File

@ -96,6 +96,11 @@ jobs:
- name: Trigger deployment
run: |
response=$(curl -s -w "\n%{http_code}" \
--connect-timeout 30 \
--max-time 120 \
--retry 3 \
--retry-delay 5 \
--retry-connrefused \
-H "Authorization: Bearer ${{ secrets.DEPLOYMENT_TOKEN }}" \
"http://147.93.126.54:8000/api/v1/deploy?uuid=ww00sswosco8w80k08c0occ8&force=false")