I want to push a React app to GitHub and subsequently point the build folder as the root to GitHub pages.
There seems to be a doc here : https://create-react-app.dev/docs/deployment/#github-pages
I want to know why this won't work ?
- I push the entire react app to github.
- I do
npm run build
on my localhost. - I set source to /build instead of /root - but I can't seem to set this
Is there a way to set the path (source) of the custom domain to /build?