summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2023-01-11 08:59:42 -0300
committerRoger Gonzalez <roger@rogs.me>2023-01-11 08:59:42 -0300
commit50b55851532588f60de7e66819a0f174e594c197 (patch)
treed054230ad82e5ecf28a691bd9ef23851f3ce7e49 /build.sh
parentbe04f3a61573b2b7123967fed0f54670fff9038c (diff)
Removed unnecesary ignores in build.sh
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 5aa8658..2dc0e8b 100755
--- a/build.sh
+++ b/build.sh
@@ -1,5 +1,5 @@
#!/bin/bash
find ./ -type f -name '*.png' -not -path '*/.git/*' -exec sh -c 'cwebp -lossless $1 -o "${1%.png}.webp"' _ {} \;
-find . -type f -not -path '*/.git/*' \( ! -iname ".gitignore" ! -iname "pre-commit" \) -exec sed -i -e 's/\.png/\.webp/g' {} \;
+find . -type f -not -path '*/.git/*' -exec sed -i -e 's/\.png/\.webp/g' {} \;
hugo -s . -d /var/www/yams.media/