git-deploy-directory
Deploy a directory to a git branch. You can use the configuration file to deploy easily.Useful to deploy to GitHub Pages.
Last updated 2 years ago by webkong .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install git-deploy-directory -g
SYNC missed versions from official npm registry.

English|简体中文

git-deploy-directory

Deploy a directory to a git branch. You can use the configuration file to deploy easily.Useful to deploy to GitHub Pages.

Installation

$ npm install -D git-deploy-directory
or 
$ yarn add -D git-deploy-directory

Usage

// init 

$ git deploy init //Initialize the configuration file

Configuration file

{
  "type": "git",
  "repo": "https://github.com/webkong/xxxx.git",  // git repo
  "branch": "docs", // git branch 
  "dir": "build" // You are going to deploy directory
}
// deploy
$ git deploy push

License

MIT

Author

me

Current Tags

  • 1.0.2                                ...           latest (2 years ago)

2 Versions

  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (11)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |