From: Martin Quinson Date: Tue, 31 Jul 2018 08:05:58 +0000 (+0200) Subject: Automatically rebuild the pages on git push on framagit X-Git-Tag: v3_21~351 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/11673f3ecfc57039950bd9c70ecf1c5a28eda54e Automatically rebuild the pages on git push on framagit --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000..1a005826f7 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,22 @@ +image: debian:testing-slim + +.build: &build + script: + - apt-get update + - apt-get install -y python3-sphinx doxygen python3-breathe python3-sphinx-rtd-theme + - cd docs + - sphinx-build -M html source/ build/ + - mv build/html ../public + artifacts: + paths: + - public + +pages: + <<: *build + only: + - master + +test: + <<: *build + except: + - master