Loading .gitlab-ci.yml +20 −1 Original line number Diff line number Diff line Loading @@ -105,7 +105,7 @@ rsync: - master when: manual ftp-live: ftp-dev: stage: deploy tags: - kunden-web Loading @@ -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 Loading
.gitlab-ci.yml +20 −1 Original line number Diff line number Diff line Loading @@ -105,7 +105,7 @@ rsync: - master when: manual ftp-live: ftp-dev: stage: deploy tags: - kunden-web Loading @@ -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