Skip to content

Commit

Permalink
feat(ci): clear cf cache on deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
ProbablePrime authored Jan 3, 2025
1 parent aba859b commit 8af338a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,8 @@ jobs:

- name: Deploy with rsync
run: rsync -avz --exclude=.github/ --exclude=.git/ -e ssh . ${{ secrets.WEB_SERVER_USERNAME }}@${{ secrets.WEB_SERVER_HOST }}:/home/ydm/resonite
- name: Clear Cloudflare Cache
uses: Cyb3r-Jak3/action-cloudflare-cache@v2.0.0
with:
zone: resonite.com
api_token: ${{ secrets.CLOUDFLARE_TOKEN }}

0 comments on commit 8af338a

Please sign in to comment.