Skip to content

Commit b2925fd

Browse files
committed
purge caches when deploying docs and demo
1 parent 2a585f9 commit b2925fd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/web.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ jobs:
4141
env:
4242
TUNNEL_SERVICE_TOKEN_ID: ${{ secrets.TUNNEL_SERVICE_TOKEN_ID }}
4343
TUNNEL_SERVICE_TOKEN_SECRET: ${{ secrets.TUNNEL_SERVICE_TOKEN_SECRET }}
44+
- name: Purge Cloudflare cache
45+
uses: NathanVaughn/actions-cloudflare-purge@v3.1.0
46+
with:
47+
cf_zone: ${{ secrets.CLOUDFLARE_ZONE }}
48+
cf_auth: ${{ secrets.CLOUDFLARE_TOKEN }}
4449
build-deploy-docs:
4550
runs-on: ubuntu-latest
4651
steps:
@@ -74,3 +79,8 @@ jobs:
7479
env:
7580
TUNNEL_SERVICE_TOKEN_ID: ${{ secrets.TUNNEL_SERVICE_TOKEN_ID }}
7681
TUNNEL_SERVICE_TOKEN_SECRET: ${{ secrets.TUNNEL_SERVICE_TOKEN_SECRET }}
82+
- name: Purge Cloudflare cache
83+
uses: NathanVaughn/actions-cloudflare-purge@v3.1.0
84+
with:
85+
cf_zone: ${{ secrets.CLOUDFLARE_ZONE }}
86+
cf_auth: ${{ secrets.CLOUDFLARE_TOKEN }}

0 commit comments

Comments
 (0)