Auto Deploy to Heroku Using Gitlab CI

As of now, Heroku doesn’t support auto-deploy from GitLab. So we have to use Gitlab CI to deploy to Heroku. This post will help you to set up auto deploy to Heroku. For this blog post, we will take a rails app with a Postgres database. We need Gitlab to run the unit tests and […]

As of now, Heroku doesn’t support auto-deploy from GitLab. So we have to use Gitlab CI to deploy to Heroku. This post will help you to set up auto deploy to Heroku.
For this blog post, we will take a rails app with a Postgres database. We need Gitlab to run the unit tests and deploy to staging and then later to production.
For staging and production, we will keep different branches to make things simpler.
Source: Codemancers