Skip to content
Snippets Groups Projects
Commit 8a06c83a authored by Radek Ošlejšek's avatar Radek Ošlejšek
Browse files

Update .gitlab-ci.yml

parent 77db5b8b
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment