Skip to content

Commit

Permalink
Add cache purge step to CI deploy stage (#533)
Browse files Browse the repository at this point in the history
  • Loading branch information
jb3 committed Jun 16, 2021
1 parent 865c2ed commit 297337f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,9 @@ jobs:
site/deployment.yaml
images: 'ghcr.io/python-discord/site:${{ steps.sha_tag.outputs.tag }}'
kubectl-version: 'latest'

- name: Purge Cloudflare Edge Cache
uses: jakejarvis/cloudflare-purge-action@master
env:
CLOUDFLARE_ZONE: 989c984a358bfcd1e9b9d188cc86c1df
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_CACHE_TOKEN }}

0 comments on commit 297337f

Please sign in to comment.