update pre-push git-hook
This commit is contained in:
parent
264b052b8f
commit
075f6d4f1a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue