Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 645 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 645 Bytes

hubot-cloudflare

Purge all files within a CloudFlare zone using Hubot and Slack integration.

Dependencies

This script requires the cloudflare4 npm package to run (https://www.npmjs.com/package/cloudflare4).

npm install cloudflare4 --save

Configuration

Configure your CloudFlare email address and CloudFlare API key within the options headers of the cloudflare.js script. Once this has been done, save the changes and upload it to your bot's scripts directory.

Usage

Type purge \ to purge all files within your website's zone. Your website must be set-up under your own CloudFlare account.