Skip to content

Commit

Permalink
add cloudflare cache purge to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
unleashit committed Feb 6, 2024
1 parent 58e5092 commit 519dafd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,10 @@ jobs:
projectName: 'portfolio'
directory: 'out'
gitHubToken: ${{ secrets.GH_TOKEN }}

- name: Purge Cloudflare cache
uses: nathanvaughn/actions-cloudflare-purge@master
# preferred
with:
cf_zone: ${{ secrets.CLOUDFLARE_ZONE }}
cf_auth: ${{ secrets.CLOUDFLARE_API_TOKEN }}

0 comments on commit 519dafd

Please sign in to comment.