git init
git add .
git commit -m 'first commit'
git remote add origin https://github.com/아이디/저장소명.git
git push -u origin master
npm install gh-pages
package.json
...
"private": true,
"homepage": "https://아이디.github.io/저장소명",
"dependencies": {
...
"scripts": {
...
"predeploy": "npm run build",
"deploy": "gh-pages -d build"
},
npm run deploy
끝.