From 3474a44a5e6d40ea7352f7754c17a17f85754a57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radek=20O=C5=A1lej=C5=A1ek?= <oslejsek@fi.muni.cz> Date: Wed, 17 Feb 2021 17:48:15 +0100 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b20ed032..f1e75601 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -48,12 +48,12 @@ document: - mvn -Dauthor=false -Dcheckstyle.fail=false -DadditionalJOption=-Xdoclint:none javadoc:aggregate tags: - shared-fi -# rules: -# - if: '$CI_COMMIT_BRANCH == "master"' -# changes: -# - VERSION.txt -# - if: '$CI_COMMIT_BRANCH' -# when: never + rules: + - if: '$CI_COMMIT_BRANCH == "master"' + changes: + - VERSION.txt + - if: '$CI_COMMIT_BRANCH' + when: never artifacts: paths: - MeshModel/target/site/apidocs/ @@ -78,10 +78,10 @@ publish: - lftp -c "set ftp:ssl-allow no; open -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST; mirror -Rnev $CI_PROJECT_DIR/Comparison/target/site/apidocs ./$FTP_TARGET_DIR/apidocs-Comparison --ignore-time --parallel=10" tags: - shared-fi -# rules: -# - if: '$CI_COMMIT_BRANCH == "master"' -# changes: -# - VERSION.txt -# - if: '$CI_COMMIT_BRANCH' -# when: never + rules: + - if: '$CI_COMMIT_BRANCH == "master"' + changes: + - VERSION.txt + - if: '$CI_COMMIT_BRANCH' + when: never -- GitLab