YAML examples for Google Cloud Storage
Deploy to Google Cloud Storage
yaml
- action: "Deploy to Google Cloud Storage"
type: "GOOGLE_CLOUD_STORAGE"
integration: "my_integration"
application_name: "my-gcp-project"
bucket_name: "my-gcs-bucket"
local_path: "/dist"
remote_path: "/static"
public_access: true
cache_control: "max-age=86400"
always_from_scratch: true
deployment_excludes:
- "*.log"
- "*.tmp"
deployment_includes:
- "*.js"
- "*.css"
Simple GCS upload
yaml
- action: "Upload to GCS"
type: "GOOGLE_CLOUD_STORAGE"
integration: "gcp_integration"
bucket_name: "my-bucket"