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
|
NODE_ENV: production
|
||||||
|
|
||||||
- name: Purge Cloudflare Cache
|
- name: Purge Cloudflare Cache
|
||||||
uses: nathanvaughn/actions-cloudflare-purge@master
|
run: |
|
||||||
with:
|
curl -X POST "https://api.cloudflare.com/client/v4/zones/${{ secrets.CLOUDFLARE_ZONE_ID }}/purge_cache" \
|
||||||
cf_zone: ${{ secrets.CLOUDFLARE_ZONE_ID }}
|
-H "Authorization: Bearer ${{ secrets.CLOUDFLARE_API_TOKEN }}" \
|
||||||
cf_auth: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
-H "Content-Type: application/json" \
|
||||||
|
--data '{"purge_everything":true}'
|
||||||
|
|
||||||
- name: Get commit info
|
- name: Get commit info
|
||||||
id: commit
|
id: commit
|
||||||
|
|
Loading…
Reference in New Issue