0

I had to install a buildpack on the heroku website for my app. I followed the answer to this question: Error while excuting chrome without headless on heroku

It says that "on the next deploy, your app will also install the dependencies that your module needs to run."

I tried to redeploy my code without any changes to it, using:

git add .
git commit -am "Changes"
git push heroku master

But because i don't have any changes to my code it will not let me. So can i rerun the application on the existing commit?

user1584421
  • 3,499
  • 11
  • 46
  • 86

1 Answers1

3

You can create a ssh tunnel into your Heroku dyno by running the following command in your terminal and then rerun your app manually:

$ heroku ps:exec

Or you can run the following commands:

$ git commit -m "Heroku Exec" --allow-empty
$ git push heroku master
$ git reset HEAD^
Kapil
  • 138
  • 1
  • 10