Commit 154d5adb authored by Benjamin Cabé's avatar Benjamin Cabé Committed by Benjamin Cabé
Browse files

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: default avatarBenjamin Cabé <benjamin@zephyrproject.org>
parent dad2d65c
Loading
Loading
Loading
Loading
+1 −1
Changes for .github/workflows/doc-build.yml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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