Skip to content
Snippets Groups Projects
Commit 26cff80e authored by Radek Ošlejšek's avatar Radek Ošlejšek
Browse files

Update .gitlab-ci.yml

parent e010d248
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment