ZIP with YAML

YAML parameters for ZIP

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"

Last modified on April 26, 2022

Get Started

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