summaryrefslogtreecommitdiff
path: root/_tools
diff options
context:
space:
mode:
authormayx <mayx@outlook.com>2026-07-31 16:00:40 +0000
committermayx <mayx@outlook.com>2026-07-31 16:00:40 +0000
commit89a0af5632d2d1c54e9e9ba697380f2bc591885a (patch)
tree747274451251d978b86b4d1d975a6546aefd6d7e /_tools
parent798f65eb977e0305c55fd4ad539a71dc04fc737a (diff)
Update 5 files
- /_data/other_repo_list.csv - /_posts/2026-08-01-terminal.md - /index.html - /_tools/envs_post-receive - /games.md
Diffstat (limited to '_tools')
-rw-r--r--_tools/envs_post-receive3
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/