Skip to content

Commit

Permalink
fix: action to purge cloudflare on deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
brettski authored and theClarkSell committed Sep 20, 2023
1 parent 00b17b3 commit 92a7604
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-success.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ jobs:
curl https://www.bing.com/ping?sitemap=https://thatconference.com/sitemap.xml
- name: Purge CloudFlare
run: |
curl -X POST "https://api.cloudflare.com/client/v4/zones/${{ secrets.CLOUDFLARE_THATUS_ID }}/purge_cache" -H "Authorization: Bearer ${{ secrets.CLOUDFLARE_PURGE_TOKEN }}" -H "Content-Type:application/json" --data '{"purge_everything":true}'
curl -X POST "https://api.cloudflare.com/client/v4/zones/${{ secrets.CLOUDFLARE_THATCONFERENCE_ID }}/purge_cache" -H "Authorization: Bearer ${{ secrets.CLOUDFLARE_PURGE_TOKEN }}" -H "Content-Type:application/json" --data '{"purge_everything":true}'
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "thatconference.com",
"version": "5.0.0",
"version": "5.0.1",
"description": "THATConference.com website",
"main": "index.js",
"type": "module",
Expand Down

0 comments on commit 92a7604

Please sign in to comment.