close
The Wayback Machine - https://web.archive.org/web/20201007084725/https://github.com/brocessing/ghp
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
bin
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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 DIRECTORY --branch gh-pages
ghp DIRECTORY --append <someDirectoryOrFiles>
ghp --help

Options:
  -h, --help              Show this screen.
  -b, --branch=<branchName>
                          Specify the branch to deploy to (default: gh-pages).
  -m, --message=<msg>     Use the given <msg> as the commit message.
  -a, --append=<dir>      Copy to the pushed directory another directory.
  -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.branch

    • branch to deploy to
    • default 'gh-pages'
  • options.message

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

    • append to the root of the pushed directory another path
    • default false
  • 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.

About

📦 Automagically deploy your app on Github pages

Topics

Resources

License

Packages

No packages published
You can’t perform that action at this time.