HelloQingGuo / HelloQingGuo.github.io

:tada: Welcome to my personal website :tada:
https://helloqingguo.github.io/
MIT License
0 stars 0 forks source link

Deploy react app to github user pages #3

Open HelloQingGuo opened 6 years ago

HelloQingGuo commented 6 years ago

A user page looks for index.html in the repo's root directory, but "npm run build" generates that file in a separate build directory. Since user pages must be built from the master branch, need to find a way for these build files to be generated right at the repo's root. For now, copying all of build files to the root directory works just fine. But not perfect. Stay tuned.