wkdeploy

1.0.0 • Public • Published

使用说明

安装

npm install -D deployutils

项目根目录下新建配置文件 deploy.test.json


{
  "distPath": "dist",
  "remotePath": "/test/pc/tender/",
  "proxyApi": "/test-api",

  "OSS": {
    "region": "",
    "accessKeyId": "",
    "accessKeySecret": "",
    "bucket": "",
    "domain": ""
  },
  "nginx": {
    "host": "",
    "user": ""
  }
}

配置package.json

{
  "scripts": {
    "deploy:test": "deployutils test"
  }
}

执行命令

npm run deploy:test

ssh-copy-id -i key_file user@host

Readme

Keywords

none

Package Sidebar

Install

npm i wkdeploy

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

6.35 kB

Total Files

4

Last publish

Collaborators

  • keye