Addicted to building tools that don't exist yet... making my (and hopefully someone else's) life easier!
I build serverless web-apps, IT admin scripts, and I even do some VO work!
don't now.json files need to get commited though?
env files never get committed...
there's also a .nowignore file specifically to ignore now stuff.....
Came here because i'm in the same boat trying to "do it right" by using now secret and .env files locally, and the env variables UI at vercel.com.
None are working in preview/prod. only locally in dev.
If there is no config other than your envs in now.json, there is no need to commit it. Now.json file+Vercel is one of the ways to deploy your nextjs(or other) app, it's not integral part of you repo.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thats what my first comment was about, put envs in now.json and add it to git ignore. It serves the same purpose as .env
don't now.json files need to get commited though?
env files never get committed...
there's also a
.nowignore
file specifically to ignore now stuff.....Came here because i'm in the same boat trying to "do it right" by using
now secret
and.env
files locally, and theenv variables
UI at vercel.com.None are working in preview/prod. only locally in dev.
If there is no config other than your envs in now.json, there is no need to commit it. Now.json file+Vercel is one of the ways to deploy your nextjs(or other) app, it's not integral part of you repo.