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

ci: build-doc now doesnt run on tags

parent 9561d108
No related branches found
No related tags found
No related merge requests found
...@@ -16,15 +16,17 @@ docker-image: ...@@ -16,15 +16,17 @@ docker-image:
- if: $CI_COMMIT_TAG - if: $CI_COMMIT_TAG
build-doc: build-doc:
image: gitlab.liu.se:5000/phd-courses/multiple-target-tracking image: gitlab.liu.se:5000/phd-courses/multiple-target-tracking
stage: build stage: build
script: script:
- pdoc --html src - pdoc --html src
- mkdir .public - mkdir .public
- mv html/src/* .public/ - mv html/src/* .public/
artifacts: artifacts:
paths: paths:
- .public - .public
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
pages: pages:
stage: deploy stage: deploy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment