Skip to content

Instantly share code, notes, and snippets.

@johnsaltarelli
Created January 4, 2019 17:26
Show Gist options
  • Save johnsaltarelli/97c0232ca332a1063a76522f0bbd9b82 to your computer and use it in GitHub Desktop.
Save johnsaltarelli/97c0232ca332a1063a76522f0bbd9b82 to your computer and use it in GitHub Desktop.
# Purge the Heroku Build Cache using the terminal. This requires a new deployment FYI.
# Replace appname with name of application on Heroku.
heroku plugins:install heroku-repo
heroku repo:purge_cache -a appname
git commit --allow-empty -m "Purge cache"
git push heroku master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment