From 0dcbbadcd8383974920ea3aeefb04d0215b166e6 Mon Sep 17 00:00:00 2001 From: Zach Wolfenbarger Date: Tue, 8 Oct 2024 18:21:58 -0500 Subject: [PATCH] Update readme --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 8ab0d94..954c87e 100644 --- a/README.md +++ b/README.md @@ -96,6 +96,25 @@ jobs: creds: ${{ secrets.AZURE_STATIC_SITES }} ``` +### Purge the Front Door cache for a specific AFD instance and content path +```yaml +name: Purge Star +on: + push: + tags: + - production-release + +jobs: + purge_cached_star: + name: Purge cached file + uses: zooniverse/ci-cd/.github/workflows/purge_cache.yaml@main + with: + fdname: 'frontend-preview-zooniverse-org' + path: '/assets/star.jpg' + secrets: + creds: ${{ secrets.AZURE_STATIC_SITES }} +``` + ### Send a Slack notification ```yaml slack_notification: