diff options
-rwxr-xr-x | build.sh | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -2,5 +2,4 @@ find ./ -type f -name '*.png' -not -path '*/.git/*' -exec sh -c 'cwebp -lossless $1 -o "${1%.png}.webp"' _ {} \; find . -type f -not -path '*/.git/*' -exec sed -i -e 's/\.png/\.webp/g' {} \; -rm -rf /var/www/yams.media/* -hugo -s . -d /var/www/yams.media/ +hugo -s . -d /var/www/yams.media/ --minify --cleanDestinationDir --gc --verbose |