Using local configs in a Heroku deployment environment

Posted by ambertch on Stack Overflow See other posts from Stack Overflow or by ambertch
Published on 2010-06-04T04:03:57Z Indexed on 2010/06/05 20:22 UTC
Read the original article Hit count: 179

Filed under:

I'm trying to migrate my app to Heroku - I have a config file that varies with development/staging/production environments as it contains uniquely assigned keys (from Facebook, S3, etc.), so I keep it out of the repository and keep the configs local.

As such I'm trying to find a solution for Heroku to have that config file since Heroku deploys from the repository. I noticed Heroku deploys from the master branch - can it deploy from another branch? Because then I could commit the Heroku configs there, and have it not overwrite the other environments' configs every time it pulls.

Thanks!

© Stack Overflow or respective owner

Related posts about heroku