Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Matthew Root5,392 Points
Github and auto-deploy
I am wanting to use github with my projects but I am not sure how to go about deploying my merges to my hostgator server. Can anyone break it down for me?
David Axelrod36,073 Points
Hrmm. On heroku you can just link your github account and then check auto deploys and everything works out swimmingly. Maybe give them a try if its mission critical
Kevin Korte28,148 Points
I don't think hostgator supports this. However, you could possibly ssh into your hostgator account, and than copy your github repo into your hostgator account via ssh. It's not pretty, but I think it's possible, if your hostgator account allows ssh access.
Honestly, it's probably just easier to use filezilla. As David said, some other webhosts are better integrated with Github, such as Heroku. You pay more, but it's easier to update. Hostgator is really a budget host, and so their offerings are limited.