]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
docs: automatic publishing using gitlab pages
authorVasek Sraier <git@vakabus.cz>
Fri, 6 Jan 2023 09:57:24 +0000 (10:57 +0100)
committerVasek Sraier <git@vakabus.cz>
Sun, 22 Jan 2023 07:40:23 +0000 (08:40 +0100)
.gitlab-ci.yml

index 958e6420240bf9959ffaae436cd88d4b91a708e2..d74b09f601bcb6555c67f17b62344f955919ebfd 100644 (file)
@@ -651,3 +651,20 @@ pkg:opensuse-15.4:
   allow_failure: true  # SUSE is always special
 
 # }}}
+
+
+pages:
+  image: $CI_REGISTRY/packaging/apkg/lxc/fedora-36
+  stage: deploy
+  script:
+    - git submodule update --init --recursive
+    - apkg build-dep -y
+    - dnf install -y python3-sphinx texinfo doxygen
+    - pip3 install -r doc/requirements.txt
+    - pip3 install sphinx_rtd_theme
+    - meson build_doc -Ddoc=enabled
+    - ninja -C build_doc doc
+    - mv doc/html public
+  artifacts:
+    paths:
+      - public