ci: pass Coolify token via env var to avoid pipe character shell issue
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:
@@ -54,9 +54,12 @@ jobs:
|
|||||||
--push .
|
--push .
|
||||||
|
|
||||||
- name: Trigger Coolify deploy
|
- name: Trigger Coolify deploy
|
||||||
|
env:
|
||||||
|
COOLIFY_TOKEN: ${{ secrets.COOLIFY_TOKEN }}
|
||||||
|
COOLIFY_WEBHOOK: ${{ vars.COOLIFY_WEBHOOK }}
|
||||||
run: |
|
run: |
|
||||||
curl -s -X GET "${{ vars.COOLIFY_WEBHOOK }}" \
|
curl -s -X GET "${COOLIFY_WEBHOOK}" \
|
||||||
-H "Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}"
|
-H "Authorization: Bearer ${COOLIFY_TOKEN}"
|
||||||
|
|
||||||
e2e:
|
e2e:
|
||||||
if: false # E2E tests need rewrite: auth moved from local login to OIDC (Logto). Tests still expect username/password flow.
|
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