diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7e644462c544844fdb008313848815870f6c81d7..37fadbbfe6782de83f2ad1802555d4711a5b1e94 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: