Fix that mogrify command

This commit is contained in:
Ariejan de Vroom 2022-08-20 15:23:15 +02:00
parent 384aa77d51
commit f7e46be1a2
Signed by: ariejan
GPG Key ID: AD739154F713697B

View File

@ -8,7 +8,8 @@ pages:
- apk add --no-cache imagemagick - apk add --no-cache imagemagick
script: script:
- hugo - hugo
- find ./public -name '*.jpg' -exec sh -c "mogrify -monitor -sampling-factor 4:2:0 -strip -interlace JPEG -colorspace sRGB -resize 2048 -compress JPEG -quality 80 " {} \; - ls -lah
- find ./public -name '*.jpg' -exec mogrify -monitor -sampling-factor 4:2:0 -strip -interlace JPEG -colorspace sRGB -resize 2048 -compress JPEG -quality 80 {} \;
artifacts: artifacts:
paths: paths:
- public - public