DEV Community

loading...

Discussion on: How to edit files in a Heroku dyno and persist it

Collapse
canbax profile image
yusuf

but I don't want to push the file to Github. It is a config file, it will be different based on deployment environment

Thread Thread
askrishnapravin profile image
Krishna Pravin Author

Use the Heroku config vars option for environment-specific values.

devcenter.heroku.com/articles/conf...

Thread Thread
canbax profile image
yusuf

I think I can't. I'm reading value inside JS code, it should be a file