Google Cloud Storage with YAML

YAML parameters for Google Cloud Storage

NameTypeDescription
action
Required
StringThe ID of the action.
type
Required
StringThe type of the action. Should be set to GOOGLE_CLOUD_STORAGE.
bucket_name
Required
StringThe name of the GCS Bucket.
integration_hash
Required
StringThe ID of the integration.
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.
public_accessBooleanMakes files accessible through public HTTP.
remote_pathStringThe absolute or relative path on the remote server.
deployment_excludesString[]The paths and/or files that will be left out during the deployment.
deployment_includesString[]The exceptions from the ignore patterns set in deployment_excludes.
application_nameStringThe name of the GCS application.
content_encodingStringContentEncoding that will be set for the deployed files e.g. "gzip".

YAML example for Google Cloud Storage

actions:
- action: "Upload files to GCS/hello-world-0"
  type: "GOOGLE_CLOUD_STORAGE"
  input_type: "SCM_REPOSITORY"
  local_path: "/assets"
  remote_path: "/public"
  bucket_name: "hello-world-0"
  application_name: "hello-world"
  application_display_name: "hello-world"
  integration_hash: "5ddb7c180fb38be67bd78a88a"
  deployment_excludes:
  - "/tmp"
  - "*.log"
  deployment_includes:
  - "/tmp/assets"
  - "/tmp/styles"

Last modified on August 9, 2023

Questions?

Not sure how to configure a pipeline for your process? Reach out on the live-chat or contact support

Get Started

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