Set environment variable
eurobase_set_envSets one public (non-secret) environment variable of a permitted project for its app build and runtime, creating it or replacing its value. Saving starts a redeploy of the live app release when that release reads its variables at activation (returned as redeploy); otherwise the value applies from the next deployment. A value used at build time needs a new deploy. A variable stored as a secret is refused with ENV_CHANGE_REFUSED: secret values are added and changed by the user in the Eurobase dashboard. Public values can appear in published assets. Setting the same value again changes nothing and starts no second redeploy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| value | Yes | ||
| projectId | Yes |