1
0
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:
GilbN 2022-07-27 22:06:09 +02:00
parent b3d2b7ba31
commit cd9ba32366

View File

@ -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"