summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhyang <hyang@hyang.xyz>2023-09-14 19:54:29 -0700
committerhyang <hyang@hyang.xyz>2023-09-14 19:54:29 -0700
commite79dd4c6be6926e3773c024f1c08049897be3d48 (patch)
tree4a3bc54b5e2273188a90884027869c356a33e7d0
parent01e6ea095914d450d07f535cba3b903c345f84ad (diff)
unlucky
-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