跳到主要内容

ZIP with YAML

List of YAML parameters and examples for the "ZIP" action

YAML parameters for ZIP

名称类型描述
action
必填
String操作名称
type
必填
StringThe type of the action. Should be set to ZIP.
local_path
必填
StringThe path in the repository.
destination
必填
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"