Clearing Cloudflare cache on publish

This commit is contained in:
Roger Gonzalez 2022-06-13 15:06:18 -03:00
parent 985bb6d002
commit a04542a2f7

View File

@ -31,3 +31,8 @@ jobs:
git stash git stash
git pull --force origin master git pull --force origin master
hugo -s . -d /var/www/montevideo.restaurant/ hugo -s . -d /var/www/montevideo.restaurant/
- name: Clear Cloudflare cache
uses: Cyb3r-Jak3/action-cloudflare-cache@<Latest Release>
with:
zone: ${{ secrets.CLOUDFLARE_ZONE }}
api_token: ${{ secrets.CLOUDFLARE_TOKEN }}