DEV Community

loading...

Discussion on: Deploying Create-React-App with Json-Server as backend to Github

Collapse
codigoisaac profile image
códigoisaac • Edited

"Go to your app’s repo and open Settings. In the GitHub Pages section select gh-pages branch from the drop-down menu."

I don't see the 'gh-pages' branch. I have followed all the previous steps. What can be wrong, please??

Collapse
nikita_guliaev profile image
Nikita Guliaev🧩 Author

Hey Isaac, is your repo private by any chance?

Collapse
codigoisaac profile image
códigoisaac

Hey Nikita, thanks for the answer! No, my repo is not private.
Actually I switched from using json-server to using localStorage yesterday.
But yet the deploy to gh-pages doesn't work, when I visit the address I see the project's readme instead.
If you have another guess of what might be the problem, I'll appreciate.
Thanks again :)

Thread Thread
codigoisaac profile image
códigoisaac