diff options
-rw-r--r-- | .gitlab-ci.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fc18bfe..800d8f9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -42,7 +42,7 @@ remminai18n build: - apt-get update -qq - apt-get install -y -qq software-properties-common python3-software-properties - - apt-get install -y -qq build-essential git-core gettext-base gettext + - apt-get install -y -qq build-essential git-core gettext-base gettext lftp script: - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )' - eval $(ssh-agent -s) @@ -57,4 +57,5 @@ remminai18n build: - cd Remmina - scripts/update-translations.sh - 'git diff --exit-code --quiet origin/master || { scripts/i18nstats.sh ; git commit -am "Automatic translations by remmina-ci" ;}' + - lftp -e "cd $REM_CWD/stats ; put data/reports/chartkick.min.js; put data/reports/postats.html; exit" -u "$REM_USER,$REM_PASWD" "$REM_SERVER" - git push origin master |