Update .gitlab-ci.yml - exit si fail

This commit is contained in:
Esenjin 2019-04-04 22:11:14 +02:00
parent c5b7d4cca7
commit 4d90c78b12

View File

@ -3,6 +3,6 @@ image: mwienk/docker-lftp
deploy:
stage: deploy
script:
- lftp -c "set ftp:ssl-allow no; open -u $USERNAME,$PASSWORD $HOST; cd camelia-studio.org; mirror -Rpnevvv --parallel=10 --exclude logs/ --exclude zaap/ --exclude .git/"
- lftp -c "set cmd:fail-exit yes; set ftp:ssl-allow no; open -u $USERNAME,$PASSWORD $HOST; cd camelia-studio.org; mirror -Rpnevvv --parallel=10 --exclude logs/ --exclude zaap/ --exclude .git/"
only:
- master