From 156d0b88fec616bfbd5a79818f0fce9b3aadba16 Mon Sep 17 00:00:00 2001 From: jvais Date: Fri, 12 Apr 2019 12:19:02 +0200 Subject: [PATCH] lftp - pokus 1 --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 780c7a9..6321fd8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,7 +7,8 @@ Upload to webserver: - master script: - apt-get update -qq && apt-get install -y -qq lftp + - ls -l - | lftp -c "set ftp:ssl-allow no; open -u $USERNAME,$PASSWORD $HOST; \ - mirror -Rev ./ ./www --ignore-time --parallel=10 \ + mirror -ev ./ ./www --ignore-time --parallel=10 \ --exclude-glob .git* --exclude .git/"