diff options
author | Antenore Gatta <antenore@simbiosi.org> | 2019-08-27 10:05:39 +0300 |
---|---|---|
committer | Antenore Gatta <antenore@simbiosi.org> | 2019-08-27 10:05:39 +0300 |
commit | 13a095de74e8b7b63169706acf1885e84431fc39 (patch) | |
tree | 8572a9220662660cb2abe11aa29991445ef76248 | |
parent | fe714c3ff80f1d5034ab97ee99cb9714ee965ec7 (diff) |
Add execution condition on_success.
execute job only when all jobs from prior stages succeed (or are considered succeeding because they are marked allow_failure)
-rw-r--r-- | .gitlab-ci.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c5b6ac7..dd30095 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,6 +35,7 @@ remminadoc build: - git add --all - 'git diff --exit-code --quiet origin/master || git commit -am "Automatic doc build by remmina-ci"' - git push origin master + when: on_success remminai18n build: stage: updi18n @@ -60,3 +61,5 @@ remminai18n build: - 'git diff --exit-code --quiet origin/master || 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 + when: on_success + |