lcoa-java/bin/update.sh

8 lines
208 B
Bash
Raw Normal View History

2023-02-21 17:26:16 +08:00
_pwd=/mnt/demo26.ydool.net
2023-02-21 17:22:39 +08:00
_ip=119.3.109.134
2023-02-01 10:37:18 +08:00
cd ../
mvn clean package
scp target/build/*.jar root@${_ip}:${_pwd}
2023-07-24 14:27:21 +08:00
#scp target/build/lib/*.* root@${_ip}:${_pwd}/lib
2023-02-01 10:37:18 +08:00
ssh root@${_ip} "cd ${_pwd}; sh ./start.sh"