Miss any of our Open RFC calls?Watch the recordings here! »

git-deploy-directory

1.0.2 • Public • Published

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

Install

npm i git-deploy-directory

DownloadsWeekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

71.4 kB

Total Files

17

Last publish

Collaborators

  • avatar