How to Auto Deploy Github Repos To Heroku

Earlier in the year, Heroku announced the general availability of its GitHub integration for automatic deployment to the Heroku platform. In a blog post last month, James Ward outlined his method of deployment with a screencast to showcase how to set it up.

The integration means that branches from a GitHub repo can be configured to automatically deploy to a linked Heroku app on every GitHub push, removing the need to maintain a separate Heroku Git remote. The screencast includes connecting to GitHub, authorising Heroku to access the GitHub repo and enabling auto-deploys to Heroku.

 
For his apps, Ward uses a full Continuous Delivery pipeline following these steps:

  1. Push to GitHub
  2. CI validates the build
  3. Heroku deploys changes to staging
  4. Manual testing/validation of staging
  5. Promote staging to production using Heroku Pipelines
Original Article

Auto-Deploy GitHub Repos to Heroku

Martin W Brennan Martin W Brennan is a co-founder of ViewPop, the social network that puts the creation of 3D photos and videos in the hands of anyone with a smartphone. For his day job, Martin is a copywriting consultant at We Write Words, learning about the world as he writes about it.

Comments