Adding 2023 CWW guides / Encoding URL paths / Styling and syntax #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Purge stylesheet cache | |
on: | |
push: | |
branches: [ master ] | |
paths: | |
- 'style.css' | |
jobs: | |
purge: | |
runs-on: ubuntu-latest | |
environment: | |
name: prod | |
steps: | |
- name: Purge cache | |
uses: niwanetwork/actions-cloudflare-purge@master | |
if: success() | |
with: | |
cf_zone: ${{ secrets.CLOUDFLARE_ZONE }} | |
cf_auth: ${{ secrets.CLOUDFLARE_AUTH_KEY }} | |
urls: https://niwanetwork.org/style.css |