1.2.2 • Published 2 months ago

branch-deploy v1.2.2

Weekly downloads
-
License
ISC
Repository
github
Last release
2 months ago

Branch deploy npm

Deploy by pushing to a deploy* branch made simplier.

Usage

Run this command in your local git repository directory:

npx branch-deploy

It will then find all branches named deploy* and let you choose which one to push to. It is usually useful if you have a CI that builds/deploys your project on push to that branch.

demo screencast

Optional Options

Show help

npx branch-deploy --help

Push to all deploy branches

npx branch-deploy --all

Push to specific branch

npx branch-deploy --target deploy/production

Push to multiple branches matching a pattern

npx branch-deploy --target "deploy/*/beta"

Use different branch prefix

npx branch-deploy --prefix staging

Use different source commit

npx branch-deploy --source 52ca70ea2076bd17aa93a5efceeda3a2834db801

Use different remote name

npx branch-deploy --remote not-origin

Force

npx branch-deploy --force

Force with lease

npx branch-deploy --force-with-lease
1.2.0

2 months ago

1.2.2

2 months ago

1.2.1

2 months ago

1.1.3

5 months ago

1.1.1

6 months ago

1.1.2

5 months ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

2.0.0

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago