Skip to content

Commit 88d15de

Browse files
committed
feat: purge website
1 parent 0373e60 commit 88d15de

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.circleci/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ jobs:
4444
"https://pokeapi.co/"
4545
]
4646
}'
47+
curl https://api.cloudflare.com/client/v4/zones/1b447807502a801bdff3f71052fab25b/purge_cache \
48+
-H 'Content-Type: application/json' \
49+
-H "Authorization: Bearer $CF_POKEAPI_CIRCLECI_CACHE_PURGE_NARAMSIM" \
50+
-d '{
51+
"tags": [
52+
"website"
53+
]
54+
}'
4755
4856
workflows:
4957
version: 2

0 commit comments

Comments
 (0)