With Cloudflare notifications, you can send a request to a Cloudflare zone to invalidate asset caches before or after a deployment.
To set up a new notification, click the Notifications link on the left hand side of your project, then the New Notification button to get started.
Choose Cloudflare in the Service dropdown, then enter the appropriate Zone ID and Asset URL Prefix - the URL that should be prefixed to any asset paths from the source repository (such as www.example.org).
Next enter your Email Address and API Key that's used to connect to Cloudflare, then check the Purge Everything option if you want to clear the cache for the zone on every deployment. Otherwise, DeployHQ will just send a request to invalidate only the files that we changed in the deployment.
Choose when to send notifications, and choose any servers you wish to send notifications for, or keep the Send notification when any server or group deployed? option checked if you want to notify on all servers.
Finally, click Create Notification to finish.