summaryrefslogtreecommitdiff
path: root/_tools/envs_post-receive
diff options
context:
space:
mode:
Diffstat (limited to '_tools/envs_post-receive')
-rw-r--r--_tools/envs_post-receive2
1 files changed, 1 insertions, 1 deletions
diff --git a/_tools/envs_post-receive b/_tools/envs_post-receive
index 7fee4c9..3c85de2 100644
--- a/_tools/envs_post-receive
+++ b/_tools/envs_post-receive
@@ -1,6 +1,6 @@
#!/bin/bash
cd /home/mayx/
-rm -rf public_html
+rm -rf public_html blog/*
git --work-tree=/home/mayx/blog --git-dir=/home/mayx/blog.git checkout -f
cd blog
mkdir Mabbs