Deploy to heroku after reinstalling Ubuntu

0

Good afternoon! I needed to reinstall Ubuntu on my machine, and it was because of it that I was deploying to the heroku. But now that I've reinstalled everything I can no longer deploy.

I cloned the git project and managed to push the remote repository of the gitlab quietly, but for the heroku not. The application is already created in heroku and everything is configured. Do I have to clone the heroku repository?

    
asked by anonymous 11.07.2017 / 22:14

1 answer

1

I was able to solve the problem by removing Heroku and reinstalling the repository, following this tutorial - > installing heroku through the repository

Then just generate the ssh ssh-keygen -t rsa key, login to heroku with the heroku login command, and finally send the key that was previously generated heroku keys:add .

How to generate the SSH key and make uploud for heroku

Note: For those who installed Heroku with the snap, just use the command sudo snap remove heroku .

    
12.07.2017 / 22:36