Skip to content

Commit 154d5ad

Browse files
committed
doc: ci: exclude unneeded files from documentation tarball
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é <[email protected]>
1 parent dad2d65 commit 154d5ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/doc-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ jobs:
145145
146146
- name: compress-docs
147147
run: |
148-
tar --use-compress-program="xz -T0" -cf html-output.tar.xz --directory=doc/_build html
148+
tar --use-compress-program="xz -T0" -cf html-output.tar.xz --exclude html/_sources --exclude html/doxygen/xml --directory=doc/_build html
149149
tar --use-compress-program="xz -T0" -cf api-output.tar.xz --directory=doc/_build html/doxygen/html
150150
tar --use-compress-program="xz -T0" -cf api-coverage.tar.xz coverage-report
151151

0 commit comments

Comments
 (0)