ZIP with YAML
List of YAML parameters and examples for the "ZIP" action
提示
Learn more about:
YAML parameters for ZIP
名称 | 类型 | 描述 |
---|---|---|
action 必填 | String | 操作名称 |
type 必填 | String | The type of the action. Should be set to ZIP . |
local_path 必填 | String | The path in the repository. |
destination 必填 | String | The target path. |
deployment_excludes | String[] | The paths and/or files that will be left out during the deployment. |
deployment_includes | String[] | 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"