Files
stat_center/deploy_md.sh
T
2026-05-20 16:13:58 +08:00

16 lines
546 B
Bash
Executable File

#!/bin/bash -e
#if [[ -n $(git diff --stat) ]]
#then
# echo '请先提交代码: git commit -m "comment"'
# exit
#fi
sudo make deploy || exit "$$?"
#scp -P 22889 stat-center.tar.gz root@172.104.184.194:/data/uzip/
#ssh root@172.104.184.194 -p 22889 "/server/stat-center/up_stat.sh"
#!/bin/bash
#麻豆统计中心server端-正式服
scp -P 22 stat-center.tar.gz root@192.168.10.143:/home/stat-center/backserver/madou
ssh root@192.168.10.143 -p 22 "cd /home/stat-center/backserver/madou && bash /home/stat-center/backserver/madou/run.sh"