0 votes
1 view
in Devops and Agile by (20k points)

I have made a react app and deployed that on Heroku using git( using https). Now I have made some changes in that react app. I am able to push my changes in the git but I am not able to push those changes to Heroku. I used this command

git push heroku master

The error which I am getting is:

[email protected]: Permission denied (publickey).

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

1 Answer

0 votes
ago by (4.3k points)

Here, First, upload your key to Heroku using this command: 

heroku keys:add ~/.ssh/id_rsa.pub

or you can add one automatically, by using:

heroku keys:add

Want to learn more about DevOps? Check out: DevOps Course

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...