YAML examples for Backblaze B2
Upload to Backblaze B2
yaml
- action: Upload to Backblaze B2
type: BACKBLAZE_B2
input_type: BUILD_ARTIFACTS
local_path: /build/dist
remote_path: /uploads/v$BUDDY_RUN_ID
bucket_name: my-backblaze-bucket
cache_control: max-age=31536000
region: us-west-002
integration: backblaze_integration
deletion_disabled: true
always_from_scratch: true
deployment_excludes:
- '*.log'
- '*.tmp'
- .git/**
deployment_includes:
- '**/*.js'
- '**/*.css'
- '**/*.html'
content_encoding: gzip