diff options
Diffstat (limited to '_tools/envs_post-receive')
| -rw-r--r-- | _tools/envs_post-receive | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/_tools/envs_post-receive b/_tools/envs_post-receive index 07c8183..9de99b9 100644 --- a/_tools/envs_post-receive +++ b/_tools/envs_post-receive @@ -6,7 +6,8 @@ cd blog mkdir Mabbs curl -L -o Mabbs/README.md https://github.com/Mabbs/Mabbs/raw/main/README.md bundle exec jekyll build -d ../public_html -rsync --delete -rv ../public_html/ mayx@pgs.sh:/blog +ssh pgs.sh rm blog --write +rsync --delete --exclude='.git' -rv ../public_html/ mayx@pgs.sh:/blog tar czvf MayxBlog.tgz --exclude-vcs ../public_html/ mv MayxBlog.tgz ../public_html/ cd ../public_html/ |
