Wrote with html/css/react [Create React App]
npm install
npm start
npm run build
npm install -g serve
serve -s build
npm install gh-pages --save-dev
Change remote from github : git remote set-url origin https://github.com/tparaiso/tparaiso.github.io.git
( get current remote url : git config --get remote.origin.url )
Start npm command to deploy on gitpage : gh-pages -b master -d build
npm run deploy
After re-change remote origin to project folder : git remote set-url origin https://github.com/tparaiso/site-perso-react.git
Warning, if the url is not changed, code could be crush