-
-
Notifications
You must be signed in to change notification settings - Fork 26.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Host Github USER page (not Github project page) with create-react-app #2976
Comments
You can keep source in another branch, and copy contents of |
Github pages has the option to use a "docs" folder for the github-pages website. Create-react-app uses a
|
Following the tip from @gaearon , I have created a source branch and the master is only used to track the build folder. |
I've built my static website (
berkeleypse.github.io
) using create-react-app. Now I'm trying to host it as a User page (https://berkeleypse.github.io
) rather than a project page (https://berkeleypse.github.io/<no-project-here>
).The User Guide and specifically, these instructions require me to "Ensure my project's settings use gh-pages branch".
But because the static website I'm trying to host is a User page and not a project page, I'm required to have it use the master branch.
So my question is -- how can I make this work? Any help is greatly appreciated. Thank you!
The text was updated successfully, but these errors were encountered: