From 803fc3a54aa4ac7e19c73f72b28718f9b4ae42ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 24 Oct 2024 10:13:31 +0200 Subject: [PATCH] Reduce the size of docs artifact We just need to objects.inv for intersphinx mapping. And as the linkcheck verifies only http links, we do not need the html files. --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1a44f7be9b..12dc058385 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,6 +29,8 @@ documentation: image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/sphinxdoc/sphinx script: - .gitlab-scripts/generate-doc.sh docs + - find docs -type f -not -name 'objects.inv' -delete + - find docs -type d -empty -delete artifacts: paths: - docs/