From 039888edbf3cbebf2ab73e5fa5ab5d642ededcea Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Mon, 26 Jul 2021 12:43:50 +0200 Subject: [PATCH] ci: doc: use xz compression for html archive xz compression reduces the html archive sice from ~350MB to ~90MB (at the cost of more compression time). Compression has been moved to a separate step. Signed-off-by: Gerard Marull-Paretas --- .github/workflows/doc-build.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/doc-build.yml b/.github/workflows/doc-build.yml index afa9da85442..ae7f724f6fa 100644 --- a/.github/workflows/doc-build.yml +++ b/.github/workflows/doc-build.yml @@ -55,14 +55,17 @@ jobs: - name: build-docs run: | SPHINXOPTS="-q -W -j auto" make -C doc html - tar cvf htmldocs.tar --directory=./doc/_build html + + - name: compress-docs + run: | + tar cfJ html-output.tar.xz --directory=doc/_build html - name: upload-build uses: actions/upload-artifact@master continue-on-error: True with: - name: htmldocs.tar - path: htmldocs.tar + name: html-output + path: html-output.tar.xz doc-build-pdf: name: "Documentation Build (PDF)"