Learn how to Visually Build at Scale with Builder.io and Netlify Register now!

Back to Community Built
Contextual ENV Logo

Contextual ENV

Replaces ENV vars with ENV vars that are prefixed/suffixed with the context or branch name.

  • DevTools
Add build plugin

This plugin swaps out ENV vars on Netlify at build time. Here's how it works:

Say you have an ENV in your API code called DATABASE_URL. If you use this plugin, you'll be able to override that value based on a Context or Branch name.