Tweet by mdhruvill
November 6, 2025
I don’t think there’s currently a way to separate build variables and secrets for production and preview builds. Right now, I have to run a prebuild script that checks the branch from an environment variable and sets the right values based on the environment. It would be to have this feature.
- Author
- mdhruvill
- Date
- November 6, 2025
- Canonical URL
- /tweets/mdhruvill-1986468202801733915-464b33