Deploy to Heroku with Bitbucket Pipelines

This example is forked from by Richard Stephens.

This repository contains an example of deployment integration with Heroku using the Platform API

Setting up your Heroku deployment

Simply copy to the root of your repository and invoke it as part of your pipeline with the following variables defined.

This script depends on two environment variables to be set in Bitbucket Pipelines

  2. $HEROKU_APP_NAME - Your app name in Heroku