From f7e46be1a2637433a94d7c95a1774f16d074ead0 Mon Sep 17 00:00:00 2001 From: Ariejan de Vroom Date: Sat, 20 Aug 2022 15:23:15 +0200 Subject: [PATCH] Fix that mogrify command --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 055bd29..f4ed1e3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,7 +8,8 @@ pages: - apk add --no-cache imagemagick script: - 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: paths: - public