DigitalOcean Spaces with YAML
Tip
Learn more about:
- DigitalOcean Spaces action features
- DigitalOcean Spaces integrations
- DigitalOcean Spaces alternatives
YAML parameters for DigitalOcean Spaces
| Name | Type | Description |
|---|---|---|
action Required | String | The name of the action. |
type Required | String | The type of the action. Should be set to DO_SPACES. |
bucket_name Required | String | The name of the DigitalOcean Spaces Bucket. |
integration Required | String | The ID of the integration. |
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. |
| deployment_excludes | String[] | The paths and/or files that will be left out during the deployment. |
| deployment_includes | String[] | The exceptions from the ignore patterns set in deployment_excludes. |
| cache_control | String | Specifies how long objects stay in the cache. |
| content_encoding | String | ContentEncoding that will be set for the deployed files e.g. "gzip". |
YAML example for DigitalOcean Spaces
yamlactions: - 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: "my_integration" deployment_excludes: - "/tmp" - "*.log" deployment_includes: - "/tmp/assets" - "/tmp/styles"
Last modified on Jul 31, 2025