Install with composer
composer require deployer/recipes --devAdd to your deploy.php
require 'recipe/cloudflare.php';cloudflare– array with configuration for cloudflareservice_key– Cloudflare Service Key. If this is not provided, use api_key and email.api_key– Cloudflare API key generated on the "My Account" page.email– Cloudflare Email address associated with your account.domain– The domain you want to clear
deploy:cloudflareClears cloudflare cache
Since the website should be built and some load is likely about to be applied to your server, this should be one of, if not the, last tasks before cleanup