From 000688ba537b0435e3469b50cd35472a371bab97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Holene=20L=C3=B8kkeborg?= <thomahl@stud.ntnu.no> Date: Thu, 20 Feb 2020 14:31:42 +0100 Subject: [PATCH] =?UTF-8?q?bygger=20n=C3=A5=20docs=20til=20pages=20med=20p?= =?UTF-8?q?doc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3034e9d..e7f9551 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -65,7 +65,10 @@ job_deploy_pages: image: morkolai/paa-bittet-ci script: - mkdir public - - echo "<html><h1>Docs will appear here</h1></html>" > public/index.html + - pip install pdoc + - python -m pdoc soitool --html --output-dir public + - mv ./public/soitool/* ./public + - rmdir ./public/soitool artifacts: paths: - public -- GitLab