|
@@ -1,12 +1,12 @@
|
1
|
1
|
const shell = require('shelljs')
|
2
|
2
|
const path = require('path');
|
3
|
3
|
const config = {
|
4
|
|
- ip: "192.168.3.110", // ssh地址
|
|
4
|
+ ip: "192.168.3.122", // ssh地址
|
5
|
5
|
username: "root", // ssh 用户名
|
6
|
6
|
port: 22, //端口
|
7
|
|
- password: "123456", // ssh 密码
|
|
7
|
+ password: "DStech@123", // ssh 密码
|
8
|
8
|
// path: '/home/itsm/project/web/pc', // 上传地址,删除地址(第一次部署)
|
9
|
|
- path: '/home/itsm/project/web/pc/assets', // 上传地址,删除地址(bower_components太大,第二次以后的更新只更新assets,具体的灵活应变)
|
|
9
|
+ path: '/home/itsm/project/web/mdv2/pc/assets', // 上传地址,删除地址(bower_components太大,第二次以后的更新只更新assets,具体的灵活应变)
|
10
|
10
|
// buildPath: '../dist' // 本地打包后文件地址(第一次部署)
|
11
|
11
|
buildPath: '../dist/assets' // 本地打包后文件地址(bower_components太大,第二次以后的更新只更新assets,具体的灵活应变)
|
12
|
12
|
}
|