Knowledge

DigitalOcean Spaces

Parameters
Name Description
bucket_name Required String The name of the DigitalOcean Spaces Bucket.
integration Required Integration The integration.
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 DO_SPACES.
region Required String The name of the DigitalOcean Spaces region.
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.
public_access Boolean Makes files accessible through public HTTP.
remote_path String The absolute or relative path on the remote server.
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.
deployment_excludes String[] The paths and/or files that will be left our during the deployment.
cache_control String Specifies how long objects stay in the cache.
Example
actions:
  - action: "Upload files to DO Spaces"
    type: "DO_SPACES"
    input_type: "SCM_REPOSITORY"
    local_path: "/assets"
    bucket_name: "buddy"
    public_access: true
    region: "nyc3"
    cache_control: "max-age=3600"
    integration_id: 1
    deployment_excludes:
    - "/tmp"
    - "*.log"

Get started now

14 days of unlimited trial. No credit card required.