fix:脚本初始化
This commit is contained in:
+3
-3
@@ -2,6 +2,6 @@
|
||||
|
||||
npm run build:prod
|
||||
zip -q -r dist.zip dist
|
||||
#!/bin/bash
|
||||
scp -P 22889 dist.zip root@139.162.22.207:/server/麻豆涩漫/houtai/
|
||||
ssh root@139.162.22.207 -p 22889 "cd /server/麻豆涩漫/houtai && bash /server/麻豆涩漫/houtai/dist.sh"
|
||||
#mdsm测试服后台 地址 :https://mdsmtest-ht.lcncctn.com
|
||||
scp -P 22889 dist.zip root@139.162.22.207:/server/mdsm/houtai/
|
||||
ssh root@139.162.22.207 -p 22889 "rm -rf /server/mdsm/houtai/dist && /usr/bin/unzip -o /server/mdsm/houtai/dist.zip"
|
||||
+2
-2
@@ -5,5 +5,5 @@ zip -q -r dist.zip dist
|
||||
|
||||
#!/bin/bash
|
||||
#麻豆涩漫正式服后台更新脚本
|
||||
scp dist.zip root@192.168.10.143:/home/boduo/houtai/
|
||||
ssh root@192.168.10.143 "cd /home/boduo/houtai/ && bash /home/boduo/houtai/run.sh"
|
||||
# scp dist.zip root@192.168.10.143:/home/boduo/houtai/
|
||||
# ssh root@192.168.10.143 "cd /home/boduo/houtai/ && bash /home/boduo/houtai/run.sh"
|
||||
Reference in New Issue
Block a user