Deploy directory to remote Git branch.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
test
.commitlintrc.json
.eslintrc
.gitignore
.npmignore
.npmrc
.travis.yml
CHANGELOG.md
LICENSE
README.md
package.json

README.md

gitploy

NPM

NPM version Build Status Coverage Status

CLI that deploys directory to remote Git branch:

gitploy <directory> <branch>

Installation

NPM:

# global
npm install --global gitploy

# local
npm install gitploy

Yarn:

# global
yarn global add gitploy

# local
yarn add gitploy

Usage

If gitploy is installed globally:

gitploy directory branch

If gitploy is installed locally:

# with npx
npx gitploy directory branch

# with binary
node_modules/.bin/gitploy directory branch # $(npm bin)/gitploy directory branch

Testing

$ npm test
$ npm run lint:fix

License

MIT