add publish_h5.sh

This commit is contained in:
aozhiwei 2019-01-10 15:24:22 +08:00
parent 8212eaa70f
commit 74e0ca1308
2 changed files with 8 additions and 0 deletions

1
.gitignore vendored
View File

@ -9,3 +9,4 @@
__pycache__
*.pyc
gitlab/repository
nohup.out

7
scripts/publish_h5.sh Normal file
View File

@ -0,0 +1,7 @@
rm /root/game1008h5.zip
cd /root/game1008h5
zip -r /root/game1008h5.zip *
cd /root
scp game1008h5.zip root@login-test.kingsome.cn:/var/data/
ssh root@login-test.kingsome.cn "cd /var/data && unzip -o -d game1008h5 game1008h5.zip"
echo 'publish ok'