Browse Source

任务的变更令

ZaiZai 1 year ago
parent
commit
a540ba23e4
2 changed files with 4 additions and 4 deletions
  1. 3 3
      build/online.sh
  2. 1 1
      public/version.json

+ 3 - 3
build/online.sh

@@ -32,7 +32,7 @@ node ./scripts/zip.js
  # 上传到测试服务器
 function uploadServer() {
     expect -c "
-        spawn scp ./zip/${file_name} root@47.110.251.215:/www/wwwroot/${file_path}
+        spawn scp ./zip/${file_name} root@39.108.216.210:/www/wwwroot/${file_path}
         expect {
             \"yes/no\" {send \"yes\r\";exp_continue;}
             \"*password\" {set timeout 500;send \"${passwd}\r\";}
@@ -42,7 +42,7 @@ function uploadServer() {
 #服务器上的相关操作
 /usr/bin/expect << EOF
     set time 30
-    spawn ssh root@47.110.251.215
+    spawn ssh root@39.108.216.210
     expect {
         "*yes/no" { send "yes\r"; exp_continue }
         "*password:" { send "${passwd}\r" }
@@ -74,7 +74,7 @@ function delPublic() {
 #服务器上的相关操作
 /usr/bin/expect << EOF
     set time 30
-    spawn ssh root@47.110.251.215
+    spawn ssh root@39.108.216.210
     expect {
         "*yes/no" { send "yes\r"; exp_continue }
         "*password:" { send "${passwd}\r" }

+ 1 - 1
public/version.json

@@ -1,3 +1,3 @@
 {
-  "value": "20240110151354"
+  "value": "20240110152209"
 }