From ec8c7e073ec8a081855f168d73e737497dcfc5be Mon Sep 17 00:00:00 2001 From: Jan Vais Date: Thu, 7 Mar 2019 11:54:35 +0100 Subject: [PATCH] fix yml syntax --- .gitlab-ci.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 44d244d..a580fda 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,12 @@ -deploy: // You can name your task however you like - stage: deploy +--- +stages: + - deploy +Upload to webserver: + stage deploy: only: - master - deploy: - script: - - lftp -c "set ftp:ssl-allow no; open -u $USERNAME,$PASSWORD $HOST; mirror -Rev ./ ./ --ignore-time --parallel=10 --exclude-glob .git* --exclude .git/" \ No newline at end of file + script: + - | + lftp -c "set ftp:ssl-allow no; open -u $USERNAME,$PASSWORD $HOST; \ + mirror -Rev ./ ./ --ignore-time --parallel=10 \ + --exclude-glob .git* --exclude .git/"