DEV Community

Discussion on: How to deploy React App to GitHub Pages

Collapse
 
pauluzo profile image
pauluzo

Hello Ibrahim. I followed your tutorial and I am trying to deploy my first app to github pages. I keep getting this error when I run "npm run deploy".

gh-pages -d build

Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Any help please?

Collapse
 
yuribenjamin profile image
Ibrahim Ragab

make sure that you provide the right credentials