Update deploy-web-reusable.yml

This commit is contained in:
Nate Kelley 2025-09-10 16:21:32 -06:00
parent 48c65db3c9
commit e31f90a6f5
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
1 changed files with 5 additions and 4 deletions

View File

@ -95,10 +95,11 @@ jobs:
NODE_ENV: production
- name: Purge Cloudflare Cache
uses: nathanvaughn/actions-cloudflare-purge@master
with:
cf_zone: ${{ secrets.CLOUDFLARE_ZONE_ID }}
cf_auth: ${{ secrets.CLOUDFLARE_API_TOKEN }}
run: |
curl -X POST "https://api.cloudflare.com/client/v4/zones/${{ secrets.CLOUDFLARE_ZONE_ID }}/purge_cache" \
-H "Authorization: Bearer ${{ secrets.CLOUDFLARE_API_TOKEN }}" \
-H "Content-Type: application/json" \
--data '{"purge_everything":true}'
- name: Get commit info
id: commit