部署脚本

This commit is contained in:
2026-11-05 16:35:07 +08:00
parent 1bacead9c4
commit 9de172dba2
+1 -1
View File
@@ -4,4 +4,4 @@ pnpm run build
zip -q -r dist.zip dist
#黄果落地页地址 :https://hgaidj.app
scp dist.zip root@172.104.166.87:/tmp/dist.zip
ssh root@172.104.166.87 "set -e && rm -rf /tmp/extract && unzip -q /tmp/dist.zip -d /tmp/extract && cd /server/51dj/landpage/dist/ && rm -rf ./* && mv /tmp/extract/dist/* . && rm -rf /tmp/extract /tmp/dist.zip && echo DEPLOY_OK"
ssh root@172.104.166.87 "set -e && rm -rf /tmp/extract && unzip -q /tmp/dist.zip -d /tmp/extract && cd /server/hjsq/landpage/dist/ && rm -rf ./* && mv /tmp/extract/dist/* . && rm -rf /tmp/extract /tmp/dist.zip && echo DEPLOY_OK"