Integrating with Version Control Providers Besides GitHub
Last updated March 09, 2022
Heroku does not currently provide a first-party deployment integration for version control providers besides GitHub. If you use another version control provider (such as GitLab or Bitbucket), you can deploy to Heroku with any of the following methods:
- Deploy directly from your development machine with Heroku’s Git-based or Docker-based deployment flow. This is the easiest method to get started with.
- If you use a continuous integration (CI) tool with your version control provider that is compatible with the
dplcommand, you can configure the tool to deploy to Heroku automatically after a successful test run. Consult your CI tool’s documentation for details.
- If your version control provider supports Git hooks, you can configure a hook that uses either the
dplcommand or the Platform API to deploy a particular branch of your hosted repo automatically whenever changes are pushed to it. Consult your version control provider’s documentation for details.
- Deploy apps to Heroku as part of a Terraform-defined infrastructure.