diff --git a/_build/update_site.sh b/_build/update_site.sh index a468f410..c0b718fe 100755 --- a/_build/update_site.sh +++ b/_build/update_site.sh @@ -64,6 +64,7 @@ do # Update site and exit if site has been successfully built if [ -e "$WORKDIR/_builddone" ]; then + find $WORKDIR/_site \( -iname '*.html' -o -iname '*.css' -o -iname '*.js' -o -iname '*.svg' -o -iname '*.rss' -o -iname '*.xml' \) -exec gzip -9 -k {} \; rsync --delete -zrt $WORKDIR/_site/ $DESTDIR/ exit fi