From 4019636f724a3e39ca22102a14134c02510cb142 Mon Sep 17 00:00:00 2001 From: Luca Weiss <luca@lucaweiss.eu> Date: Sat, 28 Sep 2024 16:09:32 +0200 Subject: [PATCH] ci: Run docs job in chroot (MR 2413) Use the new "Artifacts" directive for .ci/docs.sh and run the job in the pmbootstrap chroot to avoid needing to install sphinx dependencies on the host. Fixes #2352 --- .ci/docs.sh | 2 +- .gitlab-ci.yml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.ci/docs.sh b/.ci/docs.sh index 201191c5d..d05576a2c 100755 --- a/.ci/docs.sh +++ b/.ci/docs.sh @@ -1,6 +1,6 @@ #!/bin/sh -e # Description: create documentation with sphinx -# Options: native +# Artifacts: public/ # https://postmarketos.org/pmb-ci diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7873f88a5..6a3077a1f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -76,7 +76,6 @@ mypy: docs: stage: lint script: - - apk add py3-sphinx py3-sphinx_rtd_theme - ".ci/docs.sh" artifacts: paths: -- GitLab