ci: pass Coolify token via env var to avoid pipe character shell issue
All checks were successful
CI / ci (push) Successful in 1m4s
CI / e2e (push) Has been skipped
CI / deploy (push) Successful in 8s

The | in Laravel Sanctum tokens gets interpreted as a shell pipe when
injected inline. Using env vars ensures proper quoting.

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

View File

@@ -54,9 +54,12 @@ jobs:
--push .
- name: Trigger Coolify deploy
env:
COOLIFY_TOKEN: ${{ secrets.COOLIFY_TOKEN }}
COOLIFY_WEBHOOK: ${{ vars.COOLIFY_WEBHOOK }}
run: |
curl -s -X GET "${{ vars.COOLIFY_WEBHOOK }}" \
-H "Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}"
curl -s -X GET "${COOLIFY_WEBHOOK}" \
-H "Authorization: Bearer ${COOLIFY_TOKEN}"
e2e:
if: false # E2E tests need rewrite: auth moved from local login to OIDC (Logto). Tests still expect username/password flow.