Force correct path for rsync

This commit is contained in:
Ariejan de Vroom 2017-10-16 16:29:17 +02:00
parent 30589369a7
commit 1a5c766c94
Signed by: ariejan
GPG Key ID: AD739154F713697B

View File

@ -14,7 +14,6 @@ test:
- cd public/img - cd public/img
- mogrify -format png -path low -thumbnail 724 *.png - mogrify -format png -path low -thumbnail 724 *.png
- mogrify -format jpg -path low -thumbnail 724 *.jpg - mogrify -format jpg -path low -thumbnail 724 *.jpg
- cd ../..
except: except:
- master - master
@ -43,6 +42,7 @@ pages:
- mogrify -format jpg -path low -thumbnail 724 *.jpg - mogrify -format jpg -path low -thumbnail 724 *.jpg
# Deploy # Deploy
- cd "$CI_PROJECT_DIR"
- 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/
artifacts: artifacts:
paths: paths: