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é <benjamin@zephyrproject.org>
This commit is contained in:
parent
dad2d65cfa
commit
154d5adb18
2
.github/workflows/doc-build.yml
vendored
2
.github/workflows/doc-build.yml
vendored
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user