From 4d90c78b126ab9438dee78c627d62a38967dc381 Mon Sep 17 00:00:00 2001 From: Esenjin Date: Thu, 4 Apr 2019 22:11:14 +0200 Subject: [PATCH] Update .gitlab-ci.yml - exit si fail --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c625dc7..0b3807f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 \ No newline at end of file