From 075f6d4f1ac320444540b3cff0ebc9ff2c4b43e7 Mon Sep 17 00:00:00 2001 From: Dominic Reich Date: Sun, 19 Nov 2023 13:29:17 +0100 Subject: [PATCH] update pre-push git-hook --- .githooks/pre-push | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.githooks/pre-push b/.githooks/pre-push index 8625bfb..f2a985c 100755 --- a/.githooks/pre-push +++ b/.githooks/pre-push @@ -17,7 +17,7 @@ clean_up () { echo -n ">>> Creating static files with `hugo version | awk '{ print $1,$2 }'`..." -ret="$(hugo --gc --minify)" +ret="$(hugo --gc --minify --cleanDestinationDir --printPathWarnings --logLevel warn)" # if [ -n "$(echo $ret | grep Total)" ] ; then if [ "$?" -eq "0" ] ; then