You want to clear the build cache for your app.
You can clear the build cache for an app using the following commands:
$ heroku plugins:install heroku-repo $ heroku repo:purge_cache -a appname
The cache will be rebuilt on the next deploy. If you do not have any new code to deploy, you can push an empty commit.
$ git commit --allow-empty -m "Purge cache" $ git push heroku master
appname is replaced by the name of the app you want to clear the cache for.