pnkx-admin-mongo/script/web-腾讯云.bat
2024-02-01 15:16:19 +08:00

29 lines
581 B
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@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...
pscp -l root -pw phy0316. -r "..\pnkx-ui\dist" root@120.53.247.15:/app/pnkx-admin/
echo prod update finished!
::<3A><><EFBFBD>½<EFBFBD><C2BD><EFBFBD>
echo update finished!
pause