All sensitive variables should be set as encrypted secrets in the action's configuration.
- name: Purge cache
uses: mailerlite/[email protected]
with:
cf_token: ${{ secrets.CF_TOKEN }}
cf_zone_name: ${{ secrets.CF_ZONE_NAME }}To purge only specific files, you can pass an array of fully qualified URLs via a fourth environment variable named CF_PURGE_URLS.
cf_purge_urls: '["https://mailerlite.com/styles.css","https://mailerlite.com/app.js"]'To purge only specific files, you can pass an array of fully qualified URLs via a fourth environment variable named CF_PURGE_URLS.
cf_purge_hosts: "https://mailerlite.com,https://foo.mailerlite.com"