## What Replace the ~60-line bash retry loop in the deploy step with native curl flags. ## Why The old block reimplemented in shell what curl does natively (timeouts, retries, error handling), plus manual body/timing parsing with a marker separator. - `--max-time 15` caps each attempt so the job can't hang for ~20 min on an unreachable box. - `--retry-all-errors` turns a timed-out attempt into the next retry (a plain `--retry` doesn't always treat exit 28 as retryable). - `--fail` keeps a webhook error (4xx/5xx) from passing the step silently. ## Notes - Now uses the `COOLIFY_WEBHOOK_URL` secret instead of `DEPLOYMENT_TOKEN` + hardcoded uuid URL. **This secret must exist in GitHub Actions before merge or the deploy breaks.** - Drops the 10–20 min retry waits that gave a prior rebuild time to finish. Fine if the webhook queues the deploy; add back if it rejects requests during an in-progress rebuild. |
||
|---|---|---|
| .. | ||
| ci.yml | ||
| pr-title.yml | ||
| release.yml | ||