Skip to content

Commit

Permalink
Hardcode Cloudflare zone for now
Browse files Browse the repository at this point in the history
  • Loading branch information
tygern committed Dec 3, 2023
1 parent e3b17b2 commit 01a89ad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@ jobs:
- name: Bust cache in Cloudflare
shell: bash
env:
CLOUDFLARE_ZONE_ID: ${{ env.CLOUDFLARE_ZONE_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
run: |
curl -X POST --fail-with-body --location "https://api.cloudflare.com/client/v4/zones/$CLOUDFLARE_ZONE_ID/purge_cache" \
curl -X POST --fail-with-body --location "https://api.cloudflare.com/client/v4/zones/b7bf4458343abbb4f33b31f63196168c/purge_cache" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
-d "{
Expand Down

0 comments on commit 01a89ad

Please sign in to comment.