Environment Settings
Last updated
Last updated
You may have different sets of environment variables and secrets depending on the type of environment you wish to spin up (Staging vs PR Review, for example). In order to support this use case, we support configuratble environment variable sets that can be specified when you create an environment.
To create an environment variable set, go to the template page and the "Env Variables" tab. Click the "New" button and specify a name for the environment variable set.
Adding environment variables to the set is easy, just specify them in the format ENV_VAR='value'
separated by newlines. The file is parsed statically, so you aren't able to use previously defined environment variables in later environment variables.
You can use environment variable sets easily when creating an environment. Just specify the relevant config when you create an environment, and all the environment variables will be usable in any build steps.