Release
Emit an event when GitHub delivers the release webhook.
Workflow template
Evict a configured documentation path when a GitHub release is published. Prereleases leave the docs cache intact.
How it works
Emit an event when GitHub delivers the release webhook.
Remove cached URLs beginning with the selected hostname and path, such as docs.example.com/guide/.
Before activation
Connect GitHub and select the repository that publishes your documentation. The trigger watches published releases and skips prereleases.
Connect the Cloudflare zone and enter a hostname followed by a path, such as docs.example.com/guides/. A trailing slash limits matches to that directory.
Publish the updated docs to the origin before creating a stable release. Warm a test page under the prefix and an unrelated page, then check that only the matching page needs a fresh fetch.