I’m currently setting up my workflow for https://sursen.netlify.app/ and I have some questions regarding multiple contexts for the same branch.
What I want to achieve is basically have two environments based on my main branch. The first should be a staging env, which will be deployed automatically, and the other should be our production env, which will be deployed manually from the netlify ui.
The staging could either be accessed through a custom domain or the netlify domain, that’s not a pressing issue. The production env will be accessed through our custom domain.
The two environments will be targeting two different versions of our backend (currently set through env vars in netlify.toml).
Does anyone know if this is possible? It feels like I’m either missing something obvious, or trying to do something fundamentally against the netlify way (e.i. breaking 1 branch = 1 behaviour).
Thanks in advance