0.1.2 • Published 7 years ago

mydeploy v0.1.2

Weekly downloads
-
License
ISC
Repository
-
Last release
7 years ago

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
0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago