16 lines
548 B
Bash
Executable File
16 lines
548 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/bili/stat-center/up_stat.sh"
|
|
|
|
#!/bin/bash
|
|
#逼哩统计中心server端-正式服
|
|
scp -P 22 stat-center.tar.gz root@192.168.10.143:/home/stat-center/backserver/bili
|
|
ssh root@192.168.10.143 -p 22 "cd /home/stat-center/backserver/bili && bash /home/stat-center/backserver/bili/run.sh" |