diff .gitlab-ci.yml @ 4986:1214f3d085a9

ci: add job to build and archive the documentation
author Boris Feld <boris.feld@octobus.net>
date Fri, 06 Dec 2019 17:18:49 +0100
parents 4f3c87584a4a
children 43b448bb1a57
line wrap: on
line diff
--- a/.gitlab-ci.yml	Thu Dec 05 10:04:52 2019 -0800
+++ b/.gitlab-ci.yml	Fri Dec 06 17:18:49 2019 +0100
@@ -34,3 +34,14 @@
         - hg_rev=$(tests/testlib/map-hg-rev.sh "$(hg log -r . -T '{branch}')")
         - hg -R /ci/repos/mercurial/ update "$hg_rev"
         - (cd tests; python3 /ci/repos/mercurial/tests/run-tests.py --color=always --pure)
+
+doc:
+    image: octobus/ci-py2-evolve-doc
+    script:
+        - cd docs/
+        - make
+    variables:
+        LANG: en_us.UTF-8
+    artifacts:
+        paths:
+            - html/*