From b969e3d5a9749e1acc81aa5eab47b10a137f2c0f Mon Sep 17 00:00:00 2001 From: hyang Date: Thu, 14 Sep 2023 19:35:57 -0700 Subject: forgot to add this --- watch.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'watch.sh') 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 -- cgit v1.2.3