@starsoul/deploy

1.0.2 • Public • Published

Deploy

deploy files to ecs.

Useage

const deploy = require('@starsoul/deploy');
const SERVER_LIST = [
  {
    host: 'xxx',// ip
    port: 22,// 端口
    username: 'xxx', // 登录服务器的账号
    password: 'xxx', // 登录服务器的密码
    outputPath: '', // 要部署的本地目录
    deployPath: '', // 服务器目录
    backupPath: '', // 备份上个版本的目录
  },
];
deploy(SERVER_LIST);

Readme

Keywords

Package Sidebar

Install

npm i @starsoul/deploy

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

9.81 kB

Total Files

5

Last publish

Collaborators

  • starsoul