Commit efa85a27 authored by Björn Bartels's avatar Björn Bartels

update ci config

parent 1d4830a5
Pipeline #120 passed with stages
in 23 seconds
......@@ -105,7 +105,7 @@ rsync:
- master
when: manual
ftp-live:
ftp-dev:
stage: deploy
tags:
- kunden-web
......@@ -115,7 +115,26 @@ ftp-live:
script:
- 'which lftp || ( 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 -Rev ${BUILD_TARGET}/ ./$FTP_PATH/${BUILD_TARGET} --parallel=10 --exclude-glob .git* --exclude .git/"
except:
refs:
- master
- tags
- release
when: manual
ftp-prod:
stage: deploy
tags:
- kunden-web
dependencies:
- app-build
- app-tests
script:
- 'which lftp || ( apt-get update -qq && apt-get install -y -qq lftp )'
- lftp -c "set ftp:ssl-allow no; open -u $FTP_USERNAME_PROD,$FTP_PASSWORD_PROD $FTP_HOST_PROD; mirror -Rev ${BUILD_TARGET}/ ./$FTP_PATH_PROD/${BUILD_TARGET} --parallel=10 --exclude-glob .git* --exclude .git/"
only:
refs:
- master
- tags
- release
when: manual
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment