Try without execdir
This commit is contained in:
parent
5f6645ead9
commit
384aa77d51
|
@ -5,11 +5,10 @@ variables:
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
before_script:
|
before_script:
|
||||||
- apk add --no-cache file
|
|
||||||
- apk add --no-cache imagemagick
|
- apk add --no-cache imagemagick
|
||||||
script:
|
script:
|
||||||
- hugo
|
- hugo
|
||||||
- find ./public -name '*.jpg' -execdir sh -c "mogrify -monitor -sampling-factor 4:2:0 -strip -interlace JPEG -colorspace sRGB -resize 2048 -compress JPEG -quality 80 *.jpg" {} \;
|
- 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 " {} \;
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
|
|
Loading…
Reference in New Issue
Block a user