19 lines
364 B
Batchfile
19 lines
364 B
Batchfile
@echo off
|
|
|
|
cd ../pnkx-ui
|
|
|
|
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 admin -P 1022 -pw pnkx0501. -r "dist" admin@pnkx.cloud:/share/CACHEDEV3_DATA/docker/pnkx-admin/
|
|
echo prod update finished!
|
|
|
|
echo update finished!
|
|
pause
|