pnkx-admin-mongo/script/web-腾讯云.bat

29 lines
581 B
Batchfile
Raw Normal View History

2024-01-13 13:29:20 +08:00
@echo off
::<3A><><EFBFBD>÷<EFBFBD><C3B7><EFBFBD><EFBFBD><EFBFBD>ip<69><70><EFBFBD>˺š<CBBA><C5A1><EFBFBD><EFBFBD><EFBFBD>
set serverip=120.53.247.15
set serveruser=root
set userpwd=phy0316.
::<3A><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>·<EFBFBD><C2B7>
set uploadpathsup=/app/pnkx-admin/
cd ..\pnkx-ui
::<3A><><EFBFBD>¿<EFBFBD>ʼ
echo dist clean start...
rd/s/q dist
echo dist clean finished!
echo npm run build:prod start...
cmd /c "npm run build:prod"
echo build:prod finished!
echo prod update start...
2024-02-01 15:16:19 +08:00
pscp -l root -pw phy0316. -r "..\pnkx-ui\dist" root@120.53.247.15:/app/pnkx-admin/
2024-01-13 13:29:20 +08:00
echo prod update finished!
::<3A><><EFBFBD>½<EFBFBD><C2BD><EFBFBD>
echo update finished!
pause