Skip to content
This repository has been archived by the owner on Apr 26, 2020. It is now read-only.

Latest commit

 

History

History
33 lines (21 loc) · 780 Bytes

cloudflare.md

File metadata and controls

33 lines (21 loc) · 780 Bytes

Cloudflare recipe

Installing

Install with composer

composer require deployer/recipes --dev

Add to your deploy.php

require 'recipe/cloudflare.php';

Configuration

  • cloudflare – array with configuration for cloudflare
    • service_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

Tasks

  • deploy:cloudflare Clears cloudflare cache

Usage

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