From 8a06c83aaffa6312cf740231893b4e716b9afd67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radek=20O=C5=A1lej=C5=A1ek?= <oslejsek@fi.muni.cz> Date: Thu, 21 Jan 2021 10:07:45 +0100 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7e644462..37fadbbf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,10 +3,7 @@ variables: LANG: C.UTF-8 LC_ALL: C.UTF-8 - FTP_HORST: "ftpx.forpsi.com" - FTP_USERNAME: "radek_oslejsekcz" - FTP_PASSWORD: "yourPasswordHere" - FTP_TARGET_DIR: "www/download" + # FTP_* variables are defined in the CI condiguration of the gitlab. stages: - build @@ -33,6 +30,7 @@ ftp_deploy: stage: ftp_deploy image: ubuntu:latest script: + - echo $FTP_HOST $FTP_USERNAME $FTP_PASSWROD $FTP_TARGET_DIR - apt-get update -qq && apt-get install -y -qq lftp - lftp -c "set ftp:ssl-allow no; open -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST; mirror -Rnev ./application/target/fidentisanalyst/ ./$FTP_TARGET_DIR --ignore-time --parallel=10 --exclude-glob .git* --exclude .git/" tags: -- GitLab