I\'m wondering if there is a way to force Heroku to recompile the slug without pushing new commits and/or updating the config variables.
Why would I want to do this?
My general approach is to do:
git commit --amend -C HEAD
git push heroku master -f
Not sure I'd do this in production without being certain, as it does technically rewrite the last commit but it shouldn't cause any issues in theory. It's perfectly fine for when you are testing things in staging though.
As an added bonus since most people are problem using Vim to edit commit messages SHIFT-ZZ will quickly save and exit the commit message for you without making any changes to it.
On a related note I'm mildly shocked Heroku still doesn't have this feature. I've often seen Heroku fail to deploy due to problems on their end.
Thanks to Michael Mior for the idea to use -C HEAD to avoid opening up an editor.