From f29f7f8fd8311cca9b5b02112ef47162599e9bd4 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 09:46:38 +0100
Subject: [PATCH] Update .gitlab-ci.yml

---
 .gitlab-ci.yml | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 262e0ae9..7080a83e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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
-- 
GitLab