A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth replying to this from @mxbck
@mxbck @Netlify I think that defining an environment variable in contexts in your netlify.toml might get you what you need.

Note: these override values added via the UI.

docs 👉 https://docs.netlify.com/site-deploys/overview/?utm_source=twitter&utm_medium=support-pnh&utm_campaign=devex#deploy-contexts

My tweets and posts live here on my own domain these days.
You can explore them here and follow me on Mastodon instead of Twitter where I'm not currently active.