Deployment targets
You use deployment group's targets property to specify its targets. Each target must have a name that is unique among all targets in the deployment configuration.

Example

Let's continue the example we started earlier and add two targets to all/application/dev deployment group, and one to all/application/prod and all/shared deployment groups.
deployment/targets.yml
1
deploymentGroups:
2
all/shared:
3
targets:
4
- name: infra
5
all/application/dev:
6
targets:
7
- name: dev-environment
8
- name: sandbox
9
all/application/prod:
10
targets:
11
- name: prod-environment
Copied!
Now, we have four deployment targets: infra, dev-environment, sandbox and prod-environment.
Last modified 5mo ago
Copy link