cronjob, ensure the hugo executable can be found since it's being compiled now.

This commit is contained in:
me committed 2026-10-27 19:32:46 -07:00
1 parent a9738b84fd
commit 6ffae6e041
1 file changed
+1 -4
+1 -4
View File
@@ -16,6 +16,7 @@ if [[ $status != 0 && -e /var/www/html/index.html && -z $FORCE ]]; then
fi fi
# If the project was not already up to date, build the new files for NGINX. # If the project was not already up to date, build the new files for NGINX.
export PATH="/usr/local/bin:$PATH"
hugo --gc --minify hugo --gc --minify
status="$?" status="$?"
echo "* Hugo status is '$status', FORCE is '$FORCE'." echo "* Hugo status is '$status', FORCE is '$FORCE'."
@@ -26,7 +27,3 @@ if [[ $status == 0 && -e public/index.html ]]; then
fi fi
exit 0 exit 0
ww/html/
fi
exit 0