On Mar 20, 2009, at 7:29 AM, elk_ wrote: > I have my github repository where i commit my app to (origin) but then > i have the heroku repository aswell. The thing is i want to keep my > config.yml ignored in the github repository as it contains passwords & > information, but i want it to be commited to heroku so that it > works :) > > Is there a way to have different ignore files for each repository or > am i thinking about this the wrong way?
One option could be to move this stuff to the database, but another option would be to keep a heroku branch separate from your main development branch and push from that rather than master. This branch would have the config.yml in it w/ the password. Then deployment would be: git checkout heroku git merge master git push heroku (or something like that anyway). You could probably even use grb to set up your local "heroku" branch to track heroku/master. Hope that helps, Mat --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~----------~----~----~----~------~----~------~--~---
