Name Description
zone_id Required String The ID of the Cloudflare zone.
name Required String The name of the action.
trigger_time Required String Specifies when the action should be executed. Can be one of ON_EVERY_EXECUTION, ON_FAILURE or ON_BACK_TO_SUCCESS.
type Required String The type of the action. Should be set to CLOUDFLARE.
integration Required Integration The integration.
input_type String Defines whether the files are deployed from the repository or from the build filesystem. Can be one of SCM_REPOSITORY or BUILD_ARTIFACTS.
local_path String The path in the repository.
run_only_on_first_failure Boolean Defines whether the action should be executed on each failure. Restricted to and required if the trigger_time is ON_FAILURE.
base_url String The URL address to the desired site.
purge_all Boolean Specifies whether or not the whole cache should be removed.
deployment_excludes String[] The paths and/or files that will be left out during the deployment.
  - action: "Cloudflare action"
    type: "CLOUDFLARE"
    input_type: "SCM_REPOSITORY"
    local_path: "/"
    zone_id: "f00e1e106ca13e658477bf7393ad83f1"
    purge_all: false
    base_url: "",
    integration_id: 2
    - "/tmp"
    - "*.log"

Get started now

14 days of unlimited trial. No credit card required.