|
@@ -4,8 +4,8 @@ const config = {
|
4
|
4
|
ip: "192.168.3.111", // ssh地址
|
5
|
5
|
username: "root", // ssh 用户名
|
6
|
6
|
port: 22, //端口
|
7
|
|
- password: "DStech@123", // ssh 密码
|
8
|
|
- path: '/home/itsm/project/web/main', // 上传地址,删除地址
|
|
7
|
+ password: "123456", // ssh 密码
|
|
8
|
+ path: '/home/itsm/project/html/main', // 上传地址,删除地址
|
9
|
9
|
buildPath: '../dist/main' // 本地打包后文件地址
|
10
|
10
|
}
|
11
|
11
|
let Client = require('ssh2-sftp-client');
|