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

ci: added CI to build documentation

parent cd67529e
No related branches found
No related tags found
No related merge requests found
build-doc:
image: python:3.8
stage: build
script:
- pip install pdoc3
- pdoc --html src
- mkdir .public
- mv html/src/* .public/
artifacts:
paths:
- .public
pages:
stage: deploy
script:
- mv .public public
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment