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 e4f5576 commit 59a80f0Copy full SHA for 59a80f0
1 file changed
.github/workflows/deploy.yml
@@ -28,6 +28,11 @@ jobs:
28
- name: Purge Cloudflare cache
29
run: |
30
echo "Token length: ${#CF_TOKEN}"
31
+ echo "Verifying token..."
32
+ curl -s "https://api.cloudflare.com/client/v4/user/tokens/verify" \
33
+ -H "Authorization: Bearer $CF_TOKEN"
34
+ echo ""
35
+ echo "Purging cache..."
36
curl -X POST "https://api.cloudflare.com/client/v4/zones/${{ secrets.CF_ZONE_ID }}/purge_cache" \
37
-H "Authorization: Bearer $CF_TOKEN" \
38
-H "Content-Type: application/json" \
0 commit comments