Compare commits
2
Commits
69c1ff6f11
...
da84d25eda
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
da84d25eda | ||
|
|
cb6cdb6d40 |
@@ -6,6 +6,6 @@ if [ "$(node -p 'process.versions.node.split(".")[0]')" -ge 17 ]; then
|
|||||||
fi
|
fi
|
||||||
pnpm run build
|
pnpm run build
|
||||||
zip -q -r dist.zip dist
|
zip -q -r dist.zip dist
|
||||||
#黄果落地页地址 :https://huangguo.com
|
#黄果落地页地址 :https://hgmj.com
|
||||||
scp dist.zip root@172.104.166.87:/tmp/dist.zip
|
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/huangguo/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/hgmj/landpage/dist/ && rm -rf ./* && mv /tmp/extract/dist/* . && rm -rf /tmp/extract /tmp/dist.zip && echo DEPLOY_OK"
|
||||||
|
|||||||
Reference in New Issue
Block a user