From 4f5ebf1816c3308709966bf9704884f59616b33e Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Fri, 13 Jan 2023 16:23:21 -0300 Subject: Readded cleanup on build.sh --- build.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'build.sh') diff --git a/build.sh b/build.sh index 2dc0e8b..881746d 100755 --- a/build.sh +++ b/build.sh @@ -2,4 +2,5 @@ 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/ -- cgit v1.2.3