Commit f91d5bd7 authored by Jiří Helebrant's avatar Jiří Helebrant

Add a CI config for publishing docs on GitLab Pages

parent 809bb947
image: ubuntu:18.04
stages:
- build
- publish
build_docs:
stage: build
only:
- master
- tags
script:
- apt-get update -yqq
- apt-get install python3-sphinx-rtd-theme sphinx-rtd-theme-common make python3-sphinx -yqq
- cd docs
- make html
artifacts:
expire_in: 30 min
paths:
- docs/_build/html
publish_docs:
stage: publish
only:
- master
- tags
dependencies:
- build_docs
script:
- mv docs/_build/html public/
artifacts:
paths:
- public
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment