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 <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
5fa56445b3
commit
039888edbf
9
.github/workflows/doc-build.yml
vendored
9
.github/workflows/doc-build.yml
vendored
@ -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)"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user