Skip to content

Commit 1d195e7

Browse files
committed
ci(docs): Only clear cloudflare cache on PUBLISH condition
1 parent 31c3b14 commit 1d195e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ jobs:
7272
SOURCE_DIR: 'docs/_build/html' # optional: defaults to entire repository
7373

7474
- name: Purge cache on Cloudflare
75+
if: env.PUBLISH == 'true'
7576
uses: jakejarvis/cloudflare-purge-action@v0.3.0
7677
env:
7778
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}

0 commit comments

Comments
 (0)