Environment Settings

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.

Creating an Environment Variable Set

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

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.

Using Environment Variable Sets

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.

Last updated