Skip to content

Purge Cache

Purge Cache #162

Workflow file for this run

name: Purge Cache
on: [deployment_status]
concurrency:
group: ${{ github.job }}-${{ github.ref }}
cancel-in-progress: true
jobs:
purge-everything:
if: ${{ github.event.deployment_status.state == 'success' && github.event.deployment_status.environment == 'Production' }}
runs-on: ubuntu-latest
steps:
- name: Purge cache
uses: jakejarvis/cloudflare-purge-action@master
env:
CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }}
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}