0.1.2 • Published 9 years ago

mydeploy v0.1.2

Weekly downloads
-
License
ISC
Repository
-
Last release
9 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

9 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago