deploy
Deploy the given environment or list of environments.
def deploy(
envs: Environment,
dryrun: bool = False,
version: str | None = None,
interactive_mode: bool | None = None,
copy_style: CopyFiles = "loaded_modules"
) - > List[Deployment]
Deploy the given environment or list of environments.
Parameters
| Name | Type | Description |
|---|---|---|
| envs | Environment | Environment or list of environments to deploy. |
| dryrun | bool = False | dryrun mode, if True, the deployment will not be applied to the control plane. |
| version | `str | None` = None |
| interactive_mode | `bool | None` = None |
| copy_style | CopyFiles = "loaded_modules" | Copy style to use when running the task |
Returns
| Type | Description |
|---|---|
List[Deployment] | Deployment object containing the deployed environments and tasks. |