From 154d5adb188ded41929f00e84c5d7cd3aee2409c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Cab=C3=A9?= Date: Fri, 7 Feb 2025 09:23:43 +0100 Subject: [PATCH] doc: ci: exclude unneeded files from documentation tarball MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There is no point in including source .rst files in html-output.tar.xz as it unnecessarily slows down the creation of html-output.tar.xz as well as transfer to/decompression on S3. Same for Doxygen XML output which is only useful at build time. Signed-off-by: Benjamin Cabé --- .github/workflows/doc-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/doc-build.yml b/.github/workflows/doc-build.yml index 69c7b787c45..d263c1c80b6 100644 --- a/.github/workflows/doc-build.yml +++ b/.github/workflows/doc-build.yml @@ -145,7 +145,7 @@ jobs: - name: compress-docs run: | - tar --use-compress-program="xz -T0" -cf html-output.tar.xz --directory=doc/_build html + tar --use-compress-program="xz -T0" -cf html-output.tar.xz --exclude html/_sources --exclude html/doxygen/xml --directory=doc/_build html tar --use-compress-program="xz -T0" -cf api-output.tar.xz --directory=doc/_build html/doxygen/html tar --use-compress-program="xz -T0" -cf api-coverage.tar.xz coverage-report