Skip to content

Commit c9e5566

Browse files
Update Cloudflare purge action
1 parent de13c53 commit c9e5566

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/json_library_upload.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ jobs:
3232
destination-dir: ./
3333

3434
- name: Cloudflare Purge Cache
35-
uses: jakejarvis/cloudflare-purge-action@v0.3.0
36-
env:
37-
CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }}
38-
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
39-
PURGE_URLS: '["https://battery-notes-data.codechimp.org/library.json", "https://battery-notes-data.codechimp.org/schema.json"]'
35+
uses: nathanvaughn/actions-cloudflare-purge@v4.0.0
36+
with:
37+
cf_zone: ${{ secrets.CLOUDFLARE_ZONE }}
38+
cf_auth: ${{ secrets.CLOUDFLARE_TOKEN }}

0 commit comments

Comments
 (0)