Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Force recreation of Heroku slug on git push

I'm hosting a Django app on Heroku for a while already, and so far it worked fine. I now made some changes in the requirements.txt file, but feel like they are not correctly installed on Heroku when I make the git push. The log output shows the installation of some of the requirements, but not all of them. I guess the slug does not get recreated, but rather just updated. Is there a way to force the recreation of the complete slug?

like image 680
SimonSays Avatar asked Jan 25 '26 03:01

SimonSays


1 Answers

This plugin https://github.com/lstoll/heroku-repo will allow you to do that. Just install and run heroku repo:rebuild -a appname

like image 160
Eric Fode Avatar answered Jan 26 '26 21:01

Eric Fode



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!