From 26cff80e107de1097e0208fd5fe0e4f43b9f129c 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:12:49 +0100 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cb64c0d2..e40be400 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -40,7 +40,7 @@ test: # when: never - if: '$CI_COMMIT_BRANCH' -# generate documentation when commiting to master +# generate documentation when commiting to master and the VERSION.txt file has changed document: stage: document script: @@ -49,6 +49,8 @@ document: - shared-fi rules: - if: '$CI_COMMIT_BRANCH == "master"' + changes: + - VERSION.txt - if: '$CI_COMMIT_BRANCH' when: never artifacts: -- GitLab