gh-pagesify
v1.0.0
Published
Publish gh-pages like a breeze.
Downloads
13
Readme
gh-pagesify
Publish gh-pages like a breeze.
Usage
npm install -D gh-pagesify
Configure your
package.json
.{ // ... "scripts": { "build": "# Build static files into `public` directory.", "deploy": "npm run build && gh-pagesify" }, "gh-pages": { "repository": "foo/bar", "static": "public", "deploy": "deploy", "branch": "gh-pages" } }
npm run deploy
Options
repository
: Required.user-name/repository-name
static
: Directory for static files. Default:public
deploy
: Temporary directory for deployment. Default:deploy
branch
: Branch for gh-pages. Default:gh-pages