diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b20ed032612f2d9d9a31d6ce615980d487d7ef94..f1e756013b3dd413af45c1aecc25810e72cfe9ed 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