Search code examples
herokuplayframework-2.0

How do you force a deploy to Heroku without doing a git commit


I had a case where a push to heroku failed because of a database issue. I fixed it, but the only way I know to deploy is via "git push heroku master". Since I didn't commit anything, it won't push a new deployment. The only way I can get it to deploy to make some minor change and then do it. Is there a way to force a deploy? I'm using play 2.1.2.


Solution

  • If you are just trying to reload the dynos you can issue this from the command line:

    heroku restart -a appname

    More info https://devcenter.heroku.com/articles/application-offline