Skip to content
Snippets Groups Projects
Commit e954d51e authored by Anton Kullberg's avatar Anton Kullberg
Browse files

ci: only run doc builds on doc: tag in commit message

parent eb3ef1a8
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,7 @@ build-doc:
- .public
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- if: '$CI_COMMIT_MESSAGE =~ /^doc:.*/'
pages:
stage: deploy
......@@ -37,3 +38,4 @@ pages:
- public
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- if: '$CI_COMMIT_MESSAGE =~ /^doc:.*/'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment