0.1.6 • Published 5 years ago

qh-deploy v0.1.6

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

qh-deploy

自动部署工具

安装

局部安装

npm install qh-deploy --D 或者 yarn add qh-deploy -D

全局安装

npm install -g qh-deploy 或者 yarn global add qh-deploy

配置

qh-deploy config production
{
  "production": {
    "ssh": {
      "host": "123.45.67.89",
      "username": "root",
      "password": "123456"
    },
    "distPath": "dist", // 相对路径
    "targetPath": "/project/project-name", // 绝对路径
    "keepReleases": "10" // 保存已发布版本的数量(默认为10)
  }
}

部署

qh-deploy publish production
0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago