ci: use Coolify webhook URL from variable with auth header
Some checks failed
CI / ci (push) Failing after 59s
CI / deploy (push) Has been skipped
CI / e2e (push) Has been skipped

Set COOLIFY_WEBHOOK variable to the full deploy URL from Coolify.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-08 22:31:45 +02:00
parent 7c513257ec
commit eca733193d

View File

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