#Is there a way to deploy a config file to Vercel?
5 messages · Page 1 of 1 (latest)
I dont think so 🤔 if you have too many settings maybe you could store it in a database? then you can fetch it in your app
an alternative would be to serialize a json with all the values into a single env var so its easier to assign in the project
or commit this complex config file for each env and only set env vars for the sensitive API keys
@unkempt plank another possible approach is to encrypt the file and add it to version control. Then add the encryption key to vercel. During build time (or run time) decrypt the file using the key stored in the env variables