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/"