ee-gitpage
v0.0.5
Published
publish your static page to git repo(base on gh-pages)
Downloads
3
Readme
ee-gitpage
Publish files to a git repo branch(based on gh-pages).
gh-pages has an error when run in mac-os.(in module util,function copy). so we have ee-gitpage
Getting Started
npm install ee-gitpage --save-dev
This module requires Git >=1.7.6
.
Basic Usage
var ghpages = require('ee-gitpage');
var path = require('path');
ghpages.publish(path.join(__dirname, 'dist'), function(err) { ... });
Dependencies
Note that this plugin requires Git 1.7.6 or higher (because it uses the --exit-code
option for git ls-remote
).