diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ec2d0ac0833d70007fd9d286bc0c1600bf28a706..660c7279e723fd89e59edbba9078ff93985a9df8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -93,11 +93,15 @@ build-testenv: # documentation: # stage: deploy -# Special job for serving the result +# Special job for serving a static website. See https://docs.gitlab.com/ee/ci/yaml/README.html#pages pages: stage: deploy + only: + - f-doc script: - echo "Deploying" + - make doc + - cp -r build/doc/html public artifacts: paths: - public diff --git a/unittests/docker/Dockerfile b/unittests/docker/Dockerfile index da45618fa6f60fdcc20042dcaf3df30f4e2d166c..7d2129834b618b45381121ad0391c9ff213421e0 100644 --- a/unittests/docker/Dockerfile +++ b/unittests/docker/Dockerfile @@ -1,7 +1,9 @@ FROM debian:latest RUN apt-get update && \ - apt-get install pylint3 python3-pip tox git \ - curl pycodestyle -y + apt-get install -y \ + pylint3 python3-pip tox git \ + curl pycodestyle \ + python3-sphinx ARG COMMIT="dev" RUN git clone -b dev https://gitlab.com/caosdb/caosdb-pylib.git && \ cd caosdb-pylib && git checkout $COMMIT && pip3 install .