Search
K
Links
Comment on page

release environments config-set

Command reference doc for the Release CLI
Update an environment's config with YAML given on standard input
release environments config-set [flags]

Examples

Replace environment config with YAML file contents:
> release environments config-set --app backend --environment staging < config.yaml
Download and update config (using [yq](https://mikefarah.gitbook.io/yq/)):
> release environments config-get --app backend --environment staging \
| yq '.auto_deploy = true' \
| release environments config-set --app backend --environment staging

Options

--account <string>
Account name or ID (default: $RELEASE_ACCOUNT or "account" in config file)
--app <string>
App name or ID (default: $RELEASE_APP or "app" in config file)
--environment <string>
Environment handle or ID

Options inherited from parent commands

--config <string>
config file (default is $HOME/.release.yaml)
--debug
enable debug logging