ZIP with YAML

YAML parameters for ZIP

You can find the list with common parameters for all Buddy actions here.

NameTypeDescription
action
Required
StringThe name of the action.
type
Required
StringThe type of the action. Should be set to ZIP.
local_path
Required
StringThe path in the repository.
destination
Required
StringThe target path.
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.

YAML example for ZIP

actions:
- action: "Zippy zip"
type: "ZIP"
trigger_time: "ON_EVERY_EXECUTION"
local_path: "/dir_to_zip"
destination": "package.zip"
deployment_excludes:
- "/assets/"
- "file.txt"
deployment_includes:
- "/assets/assets-new/"
- "/assets/file.txt"