summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xwatch.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/watch.sh b/watch.sh
index 18d2ac2..77dcdcc 100755
--- a/watch.sh
+++ b/watch.sh
@@ -3,6 +3,9 @@
while true; do
(git fetch && git reset --hard origin) || git clone "$REPO" . && git submodule update --init
git submodule update --remote
+ hugo
+ mv -f ./public /var/www/hugo_pub
+ chown -R root:www-data /var/www/hugo_pub
sleep 60
done