Update .gitlab-ci.yml - exit si fail

This commit is contained in:
Esenjin 2019-04-04 22:11:51 +02:00
parent 0bd41980a9
commit b64ac967e7

View File

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