aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/deploy.yaml
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2021-06-16 06:22:40 +0100
committerGravatar GitHub <[email protected]>2021-06-16 05:22:40 +0000
commit297337fa6552ec32d95e82dc41c018ef1a5e3cf3 (patch)
tree7518e7d62b9c956fc60d725e4f6d010d984b18fc /.github/workflows/deploy.yaml
parentApprove more frameworks for CJ8 (#532) (diff)
Add cache purge step to CI deploy stage (#533)
Diffstat (limited to '.github/workflows/deploy.yaml')
-rw-r--r--.github/workflows/deploy.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml
index efc08040..4208f727 100644
--- a/.github/workflows/deploy.yaml
+++ b/.github/workflows/deploy.yaml
@@ -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 }}