stop env check on build

I'm building and deploying my app not on vercel. I build in a GitHub action so how can I disable the environment variable check there.
1 Reply
plus1toomany
plus1toomany15mo ago
I noticed that next.config.mjs has a comment at the top around skipping env validation
/**
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. This is especially useful
* for Docker builds.
*/
/**
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. This is especially useful
* for Docker builds.
*/
Want results from more Discord servers?
Add your server