You want to clear the build cache for your app.
Clear The Build Cache
You can clear the build cache for an app by using the Heroku Builds plugin:
First install the plugin:
heroku plugins:install heroku-builds
Then use the following command to clear the cache:
heroku builds:cache:purge -a example-app
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
example-app is replaced by the name of the app you want to clear the cache for.