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

Be sure to read the next Integration article: How Hilton used Google Maps APIs to Enhance Guest Experience

Original Article

Auto-Deploy GitHub Repos to Heroku

 

Comments