New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

mydeploy

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mydeploy

deploy

latest
npmnpm
Version
0.1.2
Version published
Maintainers
1
Created
Source

mydeploy

step 1

npm install -g mydeploy

step 2

at project root, create config

.deploy.js

module.exports = {
  "name": "project_name",
  "before": "echo hello world",
  "after": "echo hello world $env$name$branch$path",
  "deploy": {
    "dev": {
      "branch": "master",
      "ssh": ["ssh dest_host $cmd", "ssh username@host $cmd", "ssh dest_host2 \"sudo -u user2 $cmd\""],
      "path": "/etc/projects"
    }
  }
}

the config is js so you can add logic

step 3

at project root, run

de dev

if you want to run cmd

de dev ls

FAQs

Package last updated on 16 Mar 2017

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