Skip to content

Commit

Permalink
update purge endpoint to api v2
Browse files Browse the repository at this point in the history
  • Loading branch information
3vorp committed Mar 15, 2024
1 parent daef21f commit 9d0727e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,5 @@ jobs:
pnpm run ji
pnpm run jb
pm2 restart "WEBSITE"
cd /var/www/html/webapp.faithfulpack.net
git stash
git pull
pnpm install
pm2 restart "APP"
- name: Purge Cloudflare cache
run: curl https://api.faithfulpack.net/v1/purge/${{ secrets.PURGE_PASSWORD }}
run: "curl https://api.faithfulpack.net/v2/cloudflare/purge -H 'cloudflare: ${{ secrets.PURGE_PASSWORD }}'"

0 comments on commit 9d0727e

Please sign in to comment.