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

Update .gitlab-ci.yml

parent 52367e86
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ variables:
stages:
- build
- tests
# - ftp_deploy
- ftp_deploy
build:
stage: build
......@@ -29,10 +29,11 @@ tests:
tags:
- shared-fi
#ftp_deploy:
# stage: ftp_deploy
# script:
# - 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/"
# only:
# - master
\ No newline at end of file
ftp_deploy:
stage: ftp_deploy
image: maven:latest
script:
- 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/"
only:
- master
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