DigitalOcean CDN with YAML

YAML parameters for DigitalOcean CDN

NameTypeDescription
action RequiredStringThe name of the action.
type RequiredStringThe type of the action. Should be set to GOOGLE_CDN.
endpoint_id RequiredStringThe ID of the DigitalOcean CDN web distribution.
integration RequiredStringThe ID of the integration.
distribution_name RequiredStringThe name of the DigitalOcean CDN web distribution.
input_typeStringDefines whether the files are deployed from the repository or from the build filesystem. Can be one of SCM_REPOSITORY or BUILD_ARTIFACTS.
local_pathStringThe path in the repository.
remote_pathStringThe absolute or relative path on the remote server.
purge_allBooleanSpecifies whether or not the whole cache should be removed.
deployment_excludesString[]The paths and/or files that will be left out during the deployment. Available only if purge_all is set to false.
deployment_includesString[]The exceptions from the ignore patterns set in deployment_excludes.

YAML example for DigitalOcean CDN

yaml
actions: - action: "Digital Ocean CDN" type: "DIGITAL_OCEAN_CDN" input_type: "SCM_REPOSITORY" local_path: "/" endpoint_id: "df590699-f862-45d1-aad0-0e74280ebe50" purge_all: false remote_path: "/merged" integration: "my_integration" deployment_excludes: - "/tmp" - "*.log" deployment_includes: - "/tmp/assets" - "/tmp/styles"
Last update:
Sep 24, 2024