env_var_create
Set an Environment variable. It applies on the next deploy.
| Access | Changes Blossom |
| Same as | blossom env_var:create |
Arguments
| Argument | Type | Description |
|---|---|---|
data |
object | The variable, as in env_var.yml from env_var:init. Required. |
data.environment_id |
string | Environment id. |
data.key |
string | Variable name, such as RAILS_ENV. |
data.value |
string | Value. |
data.build |
boolean | Also available while building. |
Example
{"data":{"clone_url":"https://github.com/acme/shop","services":[{"name":"web","command":"web","port":3000,"publicly_exposed":true}]}}