How do I clear the build cache?


You can clear the build cache for an app using the following commands:

$ heroku plugins:install heroku-repo
$ heroku repo:purge_cache -a appname
$ git commit --allow-empty -m "Purge cache"
$ git push heroku master

Where appname is replaced by the name of the app you want to clear the cache for.