Skip to content

Commit 3f57983

Browse files
committed
fix: test cloudflare purge on new auth token
1 parent 960789b commit 3f57983

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Test Cloudflare Cache Purge
2+
3+
on:
4+
push:
5+
branches:
6+
- test-cloudflare-purge
7+
workflow_dispatch:
8+
9+
jobs:
10+
test_cloudflare_purge:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: read
14+
steps:
15+
- name: Print Configuration
16+
run: |
17+
echo "Branch: ${{ github.ref_name }}"
18+
echo "Commit: ${{ github.sha }}"
19+
echo "Host: polygon-docs.polygon.technology"
20+
21+
- name: Cloudflare Cache Purge
22+
uses: nathanvaughn/actions-cloudflare-purge@master
23+
with:
24+
cf_zone: ${{ secrets.CLOUDFLARE_ZONE }}
25+
cf_auth: ${{ secrets.CF_WORKER_API_TOKEN }}
26+
hosts: polygon-docs.polygon.technology
27+

0 commit comments

Comments
 (0)