From 91bdeb8ba3d1dfa006523b1e470cd2c6238c919a Mon Sep 17 00:00:00 2001
From: Clement Remi <remi.clement@irstea.fr>
Date: Thu, 24 Mar 2022 07:57:45 +0100
Subject: [PATCH] update yml

---
 .gitlab-ci.yml | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fdaf34ec..f6c33717 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,11 +1,24 @@
 # This file is a template, and might need editing before it works on your project.
 # Full project: https://gitlab.com/pages/plain-html
+image: python:3.9-bullseye
+# This file is a template, and might need editing before it works on your project.
+# Full project: https://gitlab.com/pages/plain-html
 pages:
   stage: deploy
   script:
-  - echo 'Nothing to do...'
+  - apt-get update
+  - apt-get install --assume-yes pandoc
+  - pip install numpy pandas termcolor  # top import of Ohmpi.py
+  - pip install sphinx numpydoc sphinx_rtd_theme pandoc recommonmark
+  - cd doc
+  - make html
+  # also make latex? pdf?
+  - cd ..
+  - mv doc/build/html/ public/
+  - ls public/
   artifacts:
     paths:
     - public/
   only:
-  - master
\ No newline at end of file
+  - master
+
-- 
GitLab