mirror of
https://github.com/gilbN/theme.park.git
synced 2024-10-03 22:17:08 +02:00
add CF cache purge to deploy action
This commit is contained in:
parent
b3d2b7ba31
commit
cd9ba32366
7
.github/workflows/minify-and-deploy.yml
vendored
7
.github/workflows/minify-and-deploy.yml
vendored
@ -85,4 +85,9 @@ jobs:
|
||||
publish_dir: ./
|
||||
publish_branch: live_testing
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
exclude_assets: ''
|
||||
exclude_assets: ''
|
||||
- name: Clear CF Cache
|
||||
run: |
|
||||
curl -X GET "https://api.cloudflare.com/client/v4/user/tokens/verify" \
|
||||
-H "Authorization: Bearer ${{ secrets.CLOUDFLARE_CACHE_PURGE }}" \
|
||||
-H "Content-Type:application/json"
|
Loading…
Reference in New Issue
Block a user