Browse Source

更新一下工具

seimin 1 year ago
parent
commit
8d8e7bcf7d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      upload/production.js

+ 2 - 2
upload/production.js

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