summaryrefslogtreecommitdiff
path: root/watch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'watch.sh')
-rwxr-xr-xwatch.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/watch.sh b/watch.sh
index 77dcdcc..ff1749d 100755
--- a/watch.sh
+++ b/watch.sh
@@ -4,6 +4,7 @@ while true; do
(git fetch && git reset --hard origin) || git clone "$REPO" . && git submodule update --init
git submodule update --remote
hugo
+ rm -Rf /var/www/hugo_pub
mv -f ./public /var/www/hugo_pub
chown -R root:www-data /var/www/hugo_pub
sleep 60