添加发布脚本

This commit is contained in:
2019-03-05 00:13:10 +08:00
parent a137ac16df
commit 3e169a7493
2 changed files with 3 additions and 13 deletions

3
release.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
yarn run build
rsync -avr --delete-after --exclude ".git" . root@139.129.130.191:/root/site/blog-client && ssh root@139.129.130.191 'docker restart blog-client'