diff --git a/prod_build.sh b/prod_build.sh index 0cca601..c733c22 100755 --- a/prod_build.sh +++ b/prod_build.sh @@ -6,5 +6,5 @@ rm -f dist.zip zip -q -r dist.zip dist scp dist.zip root@172.104.39.32:/tmp/dist.zip # 先解压并校验,成功后再替换线上目录,避免失败时清空线上 -ssh root@172.104.39.32 "set -e; rm -rf /tmp/extract && unzip -q /tmp/dist.zip -d /tmp/extract && test -f /tmp/extract/dist/index.html && cd /server/91fans/webadmin/dist/ && rm -rf ./* && mv /tmp/extract/dist/* . && rm -rf /tmp/extract /tmp/dist.zip && echo DEPLOY_OK" +ssh root@172.104.39.32 "set -e; rm -rf /tmp/extract && unzip -q /tmp/dist.zip -d /tmp/extract && test -f /tmp/extract/dist/index.html && cd /server/tangguo/webadmin/dist/ && rm -rf ./* && mv /tmp/extract/dist/* . && rm -rf /tmp/extract /tmp/dist.zip && echo DEPLOY_OK" rm dist.zip diff --git a/public/index.html b/public/index.html index 10c6827..b456326 100644 --- a/public/index.html +++ b/public/index.html @@ -6,7 +6,7 @@ -
登录
欢迎登陆「{{ userInfo.admin.name }}」
-91fans后台管理系统
+糖果短剧后台管理系统