Files
stat_center/deploy_bili.sh
T

16 lines
309 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 stat_center.tar.gz root@139.162.47.194:/data/uzip
ssh root@139.162.47.194 "/server/stat_center/up_app.sh"
rm -rf ./stat_center ./stat_center.tar.gz