DEV Community

Discussion on: How to deploy React App to GitHub Pages

Collapse
andrii profile image
Andrii

Sure: github.com/andrii1
I'm trying github pages here: github.com/andrii1/andrii1.github.io

Thread Thread
yuribenjamin profile image
Ibrahim Ragab Author

in this tutorial, I introduced deploying react App to Github pages, I see your app didn't consume react packages, so you can deploy your app using the normal process by open settings navigate to GitHub Pages then in Source choose the master branch if you want run your app from the master branch.
happy hacking!

Thread Thread
andrii profile image
Andrii

Sorry, can you specify a bit? I need to push it in separate repository inside /andrii1.github.io?

Thread Thread
yuribenjamin profile image
Ibrahim Ragab Author

what I need to say your app not a react app so you don't need this tutorial to deploy it to gihtub you can deploy it from the setting

Thread Thread
andrii profile image
Andrii • Edited on

So, I have my React app in separate folder my-app, when I'm trying to upload it to GitHub, I see this:
dev-to-uploads.s3.amazonaws.com/i/...

Thread Thread
andrii profile image
Andrii

Update: issue was solved with:
git push -f origin master

But, still andrii1.github.io/my-app is not live..
github.com/andrii1/my-app