Skip to content
Snippets Groups Projects
Commit d41bcb0d authored by Dominik Pilár's avatar Dominik Pilár
Browse files

Change condition for generate_docs stage in CI.

parent 7c1c6149
No related branches found
No related tags found
No related merge requests found
...@@ -90,9 +90,9 @@ generate_docs: ...@@ -90,9 +90,9 @@ generate_docs:
- git commit -m "Updated Swagger documentation generated" - git commit -m "Updated Swagger documentation generated"
- git push - git push
rules: rules:
- if: '$CI_COMMIT_TAG' - if: '$CI_COMMIT_BRANCH == "master"'
- if: '$CI_COMMIT_BRANCH' changes:
when: never - $DEPLOYMENT_INFO_VERSION_FILE
docker_image_push: docker_image_push:
before_script: [] #prevent global before_script from running before_script: [] #prevent global before_script from running
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment