Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

webkong/git-deploy-directory

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /