mirror of https://github.com/buster-so/buster.git
Update deploy-web-reusable.yml
This commit is contained in:
parent
48c65db3c9
commit
e31f90a6f5
|
@ -95,10 +95,11 @@ jobs:
|
|||
NODE_ENV: production
|
||||
|
||||
- name: Purge Cloudflare Cache
|
||||
uses: nathanvaughn/actions-cloudflare-purge@master
|
||||
with:
|
||||
cf_zone: ${{ secrets.CLOUDFLARE_ZONE_ID }}
|
||||
cf_auth: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
run: |
|
||||
curl -X POST "https://api.cloudflare.com/client/v4/zones/${{ secrets.CLOUDFLARE_ZONE_ID }}/purge_cache" \
|
||||
-H "Authorization: Bearer ${{ secrets.CLOUDFLARE_API_TOKEN }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
--data '{"purge_everything":true}'
|
||||
|
||||
- name: Get commit info
|
||||
id: commit
|
||||
|
|
Loading…
Reference in New Issue