Socket
Socket
Sign inDemoInstall

branch-deploy

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

branch-deploy

Deploy by pushing to a deploy* branch made simplier.


Version published
Maintainers
1
Created
Source

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

Keywords

FAQs

Package last updated on 06 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc