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.
This commit is contained in:
Cédric Krier committed 2024-10-24 10:13:31 +02:00
1 parent ea41b52449
commit 803fc3a54a
1 file changed
+2
+2
View File
@@ -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/