From 28953b22244b7c2dba99d865e7903125647bb7d1 Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Tue, 5 Jun 2018 12:33:15 +0000 Subject: [PATCH] Add .gitlab-ci to generate docs Signed-off-by: Niels Thykier --- .gitlab-ci.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..f06fcb6 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,33 @@ +#tests-stretch: +# image: debian:stretch +# script: debian/run-ci + +#tests-sid: +# image: debian:sid +# script: debian/run-ci + +docs: + stage: test + image: debian:sid + script: + - apt-get update + - apt-get install -y python3-sphinx + - sphinx-build -M html doc _build + - mv _build/html docs + artifacts: + paths: + - docs + +pages: + stage: deploy + dependencies: + - docs + script: + - rm -fr public + - mkdir public + - mv docs public/docs + artifacts: + paths: + - public +# only: +# - master