I am on windows 7.
I followed the documentation on heroku there: https://devcenter.heroku.com/articles/nodejs
when I execute
git push heroku master
it does absolutely nothing and I get no error. I tried to re-generate my ssh key, to delete everything and do it again. Always the same.
Sorry for providing so few info but as I have no error message, it is really difficult for me to figure out...
To deploy your app to Heroku, use the git push command to push the code from your local repository's main branch to your heroku remote. For example: $ git push heroku main Initializing repository, done.
This change is backwards-compatible; user workflows that depend on master are not affected. We encourage customers to switch to the main branch. Expect gradual updates to documentation and examples reflecting the ability to use main in place of master .
Also note that Heroku should not be considered a git hosting. It means that it's extremely uncommon to perform a git pull from Heroku. Instead, you should use a git hosting (such as GitHub or BitBucket) to store your repository and only perform push to Heroku to deploy the application.
If anyone else has this problem, my issue was that I was not pushing from my local master branch to heroku/master. You have to either push from your local master branch to heroku/master or run the command
git push heroku yourbranch:master
This is from the heroku documentation here
Ok. SSH Key problem. So if you have no error message on window, try to re-created manually your ssh key following this instruction and it will work. Permission denied (publickey) when deploying heroku code. fatal: The remote end hung up unexpectedly
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With