use bearer auth instead
This commit is contained in:
parent
7684a54678
commit
f328eec26d
2
.github/workflows/frontend-pages.yml
vendored
2
.github/workflows/frontend-pages.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
||||
if: github.ref == 'refs/heads/main'
|
||||
run: |
|
||||
curl -X POST \
|
||||
-H "Authorization: ${{ secrets.CF_API_TOKEN }}" \
|
||||
-H "Authorization: Bearer ${{ secrets.CF_API_TOKEN }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
--data '{"hosts": ["modrinth.com", "www.modrinth.com"]}' \
|
||||
https://api.cloudflare.com/client/v4/zones/e39df17b9c4ef44cbce2646346ee6d33/purge_cache
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user