How to cancel builds in heroku

Kevin McCarthy
Apr 30, 2021

TL:DR — install the heroku-builds plugin locally and cancel via their CLI

Whoops

Were you a bit too eager with your kicking off a deploy? Did you suddenly remember that embarrassing console.log you don’t really want the world to see?

There’s currently no way of cancelling builds through the heroku UI on dashboard.heroku.com .

How to do it

Install the heroku-builds plugin and cancel via the CLI.

# from the terminalheroku plugins:install heroku-buildsheroku builds:cancel -a app-name

--

--