From adda817420087f5cf172ca67870de84cc32c8c7a Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Mon, 5 Jun 2017 18:55:18 +0200 Subject: [PATCH] Remove minify --- hooks/post-receive | 2 -- 1 file changed, 2 deletions(-) diff --git a/hooks/post-receive b/hooks/post-receive index 088b7ef..d53ee21 100644 --- a/hooks/post-receive +++ b/hooks/post-receive @@ -16,8 +16,6 @@ trap "echo 'A problem occurred. Reverting to backup.'; rsync -aqz --del $BACKUP git clone --recursive $GIT_REPO $WORKING_DIRECTORY rm -rf $PUBLIC_WWW/* $HOME/.local/bin/hugo -s $WORKING_DIRECTORY -d ${PUBLIC_WWW} -b "https://${MY_DOMAIN}" -# minify files -$WORKING_DIRECTORY/bin/minify_x86-64 -r -o $PUBLIC_WWW $PUBLIC_WWW # ahead of time compression find $PUBLIC_WWW -type f \( -name '*.html' -o -name '*.js' -o -name '*.css' -o -name '*.xml' -o -name '*.svg' \) -exec gzip -v -k -f --best {} \; -exec touch -r {} "{}.gz" \; rm -rf $WORKING_DIRECTORY