We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0adbc34 commit 5ce2b3dCopy full SHA for 5ce2b3d
1 file changed
.github/workflows/deploy.yml
@@ -27,9 +27,12 @@ jobs:
27
28
- name: Purge Cloudflare cache
29
run: |
30
+ echo "Token length: ${#CF_TOKEN}"
31
curl -X POST "https://api.cloudflare.com/client/v4/zones/${{ secrets.CF_ZONE_ID }}/purge_cache" \
- -H "Authorization: Bearer ${{ secrets.CF_API_TOKEN }}" \
32
+ -H "Authorization: Bearer $CF_TOKEN" \
33
-H "Content-Type: application/json" \
34
--data '{"purge_everything":true}'
35
+ env:
36
+ CF_TOKEN: ${{ secrets.CF_API_TOKEN }}
37
38
0 commit comments