@jamesnimlos/gh-pages
v1.0.1
Published
Generates or updates a gh-pages branch from the current directory
Downloads
11
Readme
gh-pages-node
a node based script for adding or updating gh-pages from a specific distribution directory.
Usage: gh-pages-node [options] <dist directory> [gh-pages directory]
Options:
--update, -u updating already existing gh-pages (defaults to true if
gh-pages directory already exists) [boolean]
--message, -m custom commit message gh-pages
--help, -h Show help [boolean]
How-to:
# clone the repo
git clone [email protected]:JamesNimlos/gh-pages-node.git
# simlink it to your bin
ln -s gh-pages-node/gh-pages-node /usr/local/bin/gh-pages-node
# navigate to your project with gh-pages to publish
cd ~/path/to/project
# run your buid script, probably:
npm run build
# use the tool
gh-pages-node dist gh-pages
Boom, you're killing it with some sweet gh-pages.