set_target_option
Change one safety or behavior option for an existing deployment target in projects.yaml, such as delete_missing or allowed_branches.
Instructions
Change one safety/behaviour option of an existing deployment target in projects.yaml. Options: delete_missing (owned = default, only delete files deployctl itself deployed; all; none), allowed_branches (list of branch names), require_clean (bool), insecure_tls (bool), post_deploy_delete (list of file patterns), app_url (string), zip_deploy (bool).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | New value; null removes the option so the default applies | |
| option | Yes | Option to change | |
| project | Yes | Project name | |
| environment | No | Environment name (default: production) | production |