Update mongrify command

This commit is contained in:
Ariejan de Vroom 2017-10-16 16:21:45 +02:00
parent 7717ba088c
commit 3bce70d064
Signed by: ariejan
GPG Key ID: AD739154F713697B

View File

@ -12,9 +12,9 @@ test:
# Mogrify thumbnails # Mogrify thumbnails
- mkdir -p public/img/low - mkdir -p public/img/low
- cd public/img - cd public/img
- mogrify -format gif -path thumbs -thumbnail 100x100 *.gif - mogrify -format gif -path low -thumbnail 724> *.gif
- mogrify -format png -path thumbs -thumbnail 100x100 *.png - mogrify -format png -path low -thumbnail 724> *.png
- mogrify -format jpg -path thumbs -thumbnail 100x100 *.jpg - mogrify -format jpg -path low -thumbnail 724> *.jpg
except: except:
- master - master
@ -39,9 +39,9 @@ pages:
# Mogrify thumbnails # Mogrify thumbnails
- mkdir -p public/img/low - mkdir -p public/img/low
- cd public/img - cd public/img
- mogrify -format gif -path thumbs -thumbnail 100x100 *.gif - mogrify -format gif -path low -thumbnail 724> *.gif
- mogrify -format png -path thumbs -thumbnail 100x100 *.png - mogrify -format png -path low -thumbnail 724> *.png
- mogrify -format jpg -path thumbs -thumbnail 100x100 *.jpg - mogrify -format jpg -path low -thumbnail 724> *.jpg
# Deploy # Deploy
- rsync -az4 --stats --delete-after public/* ariejan@mail.devroom.io:/home/ariejan/www/devroom.io/ - rsync -az4 --stats --delete-after public/* ariejan@mail.devroom.io:/home/ariejan/www/devroom.io/