Backblaze B2 with YAML

YAML parameters for Backblaze B2

NameTypeDescription
action
Required
StringThe ID of the action.
type
Required
StringThe type of the action. Should be set to BACKBLAZE_B2.
bucket_name
Required
String[]The name of the Backblaze B2 Bucket.
integration_hash
Required
StringThe ID of the integration.
region
Required
StringThe name of the Backblaze region.
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.
deployment_excludesStringThe paths and/or files that will be left out during the deployment.
deployment_includesStringThe exceptions from the ignore patterns set in deployment_excludes.
cache_controlStringSpecifies how long objects stay in the cache.
deletion_disabledStringIf set to true, files are not deleted if changeset indcates that.

YAML example for Backblaze B2

actions:
- action: "Transfer to Backblaze B2"
  type: "BACKBLAZE_B2"
  input_type: "SCM_REPOSITORY"
  local_path: "/assets"
  remote_path: "Home/www/"
  bucket_name: "buddy"
  cache_control: "max-age=3600"
  region: "us-east-005"
  integration_hash: "5ddb7c180fb38be67bd78a88a"
  deletion_disabled: true
  deployment_excludes:
  - "/tmp"
  - "*.log"
  deployment_includes:
  - "/tmp/assets"
  - "/tmp/styles"

Last modified on May 26, 2023

Get Started

Sign up for free and deploy your project in less than 10 minutes.