ci: use Coolify API with auth token for deploy trigger
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user