lcoa-java/bin/update.sh

8 lines
198 B
Bash
Raw Normal View History

2023-02-01 10:37:18 +08:00
_pwd=/mnt/build
_ip=150.158.32.238
cd ../
mvn clean package
scp target/build/*.jar root@${_ip}:${_pwd}
#scp target/build/lib/*.* root@${_ip}:${_pwd}/lib
ssh root@${_ip} "cd ${_pwd}; sh ./start.sh"