ci: use Coolify API with auth token for deploy trigger
Some checks failed
CI / ci (push) Failing after 1m1s
CI / deploy (push) Has been skipped
CI / e2e (push) Has been skipped

Replace simple webhook GET with authenticated POST to Coolify deploy API.
Requires COOLIFY_TOKEN secret in Gitea with deploy permissions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-08 22:28:44 +02:00
parent e7caa40104
commit eaf9ad80b5

View File

@@ -55,7 +55,10 @@ jobs:
- name: Trigger Coolify deploy
run: |
curl -s -X GET "${{ secrets.COOLIFY_WEBHOOK }}"
curl -s -X POST "https://coolify.jeanlucmakiola.de/api/v1/deploy" \
-H "Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}" \
-H "Content-Type: application/json" \
-d '{"uuid":"al88s5bflnej3m6h1rmr8ylq"}'
e2e:
if: false # E2E tests need rewrite: auth moved from local login to OIDC (Logto). Tests still expect username/password flow.