Skip to content

JamesNimlos/gh-pages-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Abed celebrates

About

a node script so I can push gh-pages easier

Resources

Stars

Watchers

Forks

Packages

No packages published