jeecgboot vue3前端打包winscp上傳部署批處理任務

meetrice發表於2024-10-08

pushd D:\pro\JeecgBoot-v3.7.1\jeecgboot-vue3
call pnpm run build

pushd D:\pro\JeecgBoot-v3.7.1\jeecgboot-vue3\dist
del vue3.zip
zip -r vue3.zip ./

D:\app\WinSCP\WinSCP.com /ini=nul /command "open sftp://root:password@192.168.8.8/ -hostkey=""ssh-ed25519 255 /nna5mmk1x6+e6ukA/VvQK/4UxMNeoMQGAfYx9NaKI4"" -rawsettings PingType=2 Utf=1 ProxyPort=1" "cd /www/wwwroot/jeecgboot/vue3" "call rm -rf ./*" "put ""./vue3.zip"" ""//www/wwwroot/jeecgboot/vue3/vue3.zip""" "call unzip vue3.zip" "exit"

popd

相關文章