Drone plugins > Cloudflare Caching
Cloudflare Caching
by JetRails
Our Drone plugin enables the ability for your pipeline to interface with Cloudflare's API to purge cache.
Example
kind: pipeline
name: default
steps:
- name: cloudflare
image: jetrails/drone-cloudflare-caching
settings:
api_token:
from_secret: cloudflare_token
zone_identifier:
from_secret: cloudflare_zone_identifier
action: purge_everything
Properties
api_token
stringrequiredCloudflare API token.
Secret recommendedDefault: none
zone_identifier
stringrequiredCloudflare zone id.
Default: none
action
stringrequiredWhat type of cache purge, options are purge_everything, purge_hosts, purge_files, purge_tags.
Default: purge_everything
list
arrayoptionalList of values, could be valid hosts, tags, or files depending on action parameter value.
Default: none