npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

ghp

1.3.1 • Public • Published

logo

ghp

Automagically deploy your app on Github pages




CLI

installation

npm install -g ghp

usage

ghp
ghp DIRECTORY
ghp DIRECTORY --force
ghp DIRECTORY --cache <cacheDirectory>
ghp DIRECTORY --message <msg>
ghp --help

Options:
  -h, --help              Show this screen.
  -m, --message=<msg>     Use the given <msg> as the commit message.
  -f, --force             Deploy without checking for uncommited changes.
  -q, --quiet             Suppress step summary messages.
  -c, --cache=<cacheDir>  Specify a cache directory.

Node.js

installation

npm install -S ghp

usage

var ghp = require('ghp')
ghp.deploy(path, options)

options

  • options.message

    • commit message for the gh-pages branch,
    • default ':package: Update gh-pages'
  • options.quiet

    • suppress step summary messages
    • default false
  • options.force

    • skip the uncommited changes step
    • default false
  • options.cwd

    • git cwd
    • default process.cwd()

License

MIT.

Keywords

none

install

npm i ghp

Downloadsweekly downloads

17

version

1.3.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
Report a vulnerability