YAML examples for Import files
Import files between pipelines
yaml
- action: "Import files from backend/dev"
type: "IMPORT_FILES"
copy_hidden_files: true
trigger_time: "ON_EVERY_EXECUTION"
source_project: "backend"
source_pipeline: "dev"
target_project: "backend"
target_pipeline: "stage"
source_path: "/src"
target_path: "/www"
deployment_excludes:
- "/tmp"
- "*.log"
deployment_includes:
- "/tmp/assets"
- "/tmp/styles"
Simple file import
yaml
- action: "Import build artifacts"
type: "IMPORT_FILES"
source_project: "api"
source_pipeline: "build"
target_project: "api"
target_pipeline: "deploy"