Skip to content

Added a page for 2.1.0/1 learnings #9

Added a page for 2.1.0/1 learnings

Added a page for 2.1.0/1 learnings #9

Workflow file for this run

name: Purge Cloudflare CDN
on:
push:
branches: [main]
page_build:
jobs:
purge:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Purge Cloudflare Cache
env:
CF_ZONE_ID: ${{ secrets.CLOUDFLARE_ZONE_ID }}
CF_API_TOKEN: ${{ secrets.CLOUDFLARE_PURGE }}
run: |
curl -sf -X POST \
"https://api.cloudflare.com/client/v4/zones/${CF_ZONE_ID}/purge_cache" \
-H "Authorization: Bearer ${CF_API_TOKEN}" \
-H "Content-Type: application/json" \
-d '{"purge_everything":true}'