Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Automatically rebuild the pages on git push on framagit
authorMartin Quinson <martin.quinson@loria.fr>
Tue, 31 Jul 2018 08:05:58 +0000 (10:05 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Tue, 31 Jul 2018 08:14:40 +0000 (10:14 +0200)
.gitlab-ci.yml [new file with mode: 0644]

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644 (file)
index 0000000..1a00582
--- /dev/null
@@ -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