I'm trying since 3 days to deploy my react app on Github pages.
I followed the steps of this:
it builds, but woudnt push to github.
email@example.com deploy /home/zsuzsa/Asztal/Projects/resume
> gh-pages -d build
Cloning into 'firstname.lastname@example.org!ZsuzsaMano!ZsuzsaMano.github.io'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! email@example.com deploy: `gh-pages -d build`
npm ERR! Exit status 1
npm ERR! Failed at the firstname.lastname@example.org deploy script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output abov
npm ERR! A complete log of this run can be found in:
npm ERR! /home/zsuzsa/.npm/_logs/2019-11-17T18_13_43_540Z-debug.log
then after a lot of different trys I tried to just drag the build folder to my repo, after the 3rd time, it finally worked.
I set githubpages in settings, but on
https://zsuzsamano.github.io/Resume/ I still only get Error 404
https://github.com/ZsuzsaMano/Resume is my repo.
Im already quite desperate.... greatful for any ideas
Im using Ubuntu 16.04 and Atom
Solved! Solved! Go to Solution.