From 7eadf7ca2bfa37ea5b39b721661e9afbc632f035 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bertrand=20N=C3=A9ron?= <bneron@pasteur.fr>
Date: Fri, 18 Aug 2017 17:17:32 +0200
Subject: [PATCH] add gitlab-ci file to build and publish html page

---
 .gitlab-ci.yml | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 .gitlab-ci.yml

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..fe6de7e
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,12 @@
+
+pages:
+  stage: deploy
+  image: registry-gitlab.pasteur.fr/hub/courses/sphinx-env/sphinx:1.4.1
+  script:
+    - make html
+    - mv build/html/ public/
+  artifacts:
+    paths:
+      - public
+  only:
+    - master
\ No newline at end of file
-- 
GitLab