summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhyang <hyang@hyang.xyz>2023-09-14 19:35:57 -0700
committerhyang <hyang@hyang.xyz>2023-09-14 19:35:57 -0700
commitb969e3d5a9749e1acc81aa5eab47b10a137f2c0f (patch)
treee9c25926478a8fd0c7e0a9e42295806a0303043b
parentea14a61289b13d3d64fbecf35faa6b750ed88960 (diff)
forgot to add this
-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