Skip to content

Commit ac41ef2

Browse files
committed
fix: add Bearer token to Coolify deploy webhook
1 parent 81cf942 commit ac41ef2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ jobs:
1818
- name: Trigger Coolify webhook
1919
run: |
2020
HTTP_STATUS=$(curl -s -o /dev/null -w "%{http_code}" \
21-
-X GET "${{ secrets.COOLIFY_WEBHOOK_URL }}")
21+
-X GET "${{ secrets.COOLIFY_WEBHOOK_URL }}" \
22+
-H "Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}")
2223
2324
if [ "$HTTP_STATUS" -ge 200 ] && [ "$HTTP_STATUS" -lt 300 ]; then
2425
echo "Deploy triggered successfully (HTTP $HTTP_STATUS)"

0 commit comments

Comments
 (0)