ci: add job to build and archive the documentation
authorBoris Feld <boris.feld@octobus.net>
Fri, 06 Dec 2019 17:18:49 +0100
changeset 4986 1214f3d085a9
parent 4985 2371d40f0878
child 5000 8d38ad9c044f
ci: add job to build and archive the documentation
.gitlab-ci.yml
--- 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/*