GitHub Pages
Installation
npm i -D gh-pages
Usage
gh-pages -d <dir> -m <commit-message>
# Use with npm scripts
npm run predeploy
npm run deploy
// package.json e.g.:
{
"scripts": {
"predeploy": "npm run build",
"deploy": "gh-pages -d build"
},
"homepage": "https://<user-name>.github.io/<repo-name>" // Or a custom domain.
}
More at: