Skip to content
This repository was archived by the owner on Jan 6, 2026. It is now read-only.

Commit 4c326a9

Browse files
authored
fix: curl secrets in deploy workflow (#44)
Signed-off-by: Miroslav Bajtoš <oss@bajtos.net>
1 parent c9b8b32 commit 4c326a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ jobs:
3030
- name: Trigger a new Cloudflare Pages deployment
3131
run: |
3232
curl --fail-with-body -X POST \
33-
-H "Authorization: Bearer {{ secrets.CLOUDFLARE_API_TOKEN }}" \
33+
-H "Authorization: Bearer ${{ secrets.CLOUDFLARE_API_TOKEN }}" \
3434
-H "Content-Type: application/json" \
35-
https://api.cloudflare.com/client/v4/accounts/{{ secrets.CLOUDFLARE_ACCOUNT_ID }}/pages/projects/spark-dashboard/deployments
35+
https://api.cloudflare.com/client/v4/accounts/${{ secrets.CLOUDFLARE_ACCOUNT_ID }}/pages/projects/spark-dashboard/deployments
3636
3737
- if: failure()
3838
uses: slackapi/slack-github-action@v2.0.0

0 commit comments

Comments
 (0)