Configuring my Staging Site on Heroku
I set-up a staging site so I could do QA before pushing to production. In order to do so, I created a new Heroku app, and had to set-up new API’s. I was wondering about the best way to make sure that both the staging and production app had the correct API credentials without overwriting the YML’s.
I found this article on Heroku that shows exactly how to handle such a situation. Store your credentials on Heroku and reference them from the code.