Skip to content

Commit df90e58

Browse files
committed
Copy only pdf html and index.html
1 parent 33c5e75 commit df90e58

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/doc-build-livedoc.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,14 @@ jobs:
5555
export CXX="ccache $CXX"
5656
pip install --no-build-isolation --config-settings=builddir=builddir . -v
5757
58-
- name: Build pdf documentation
58+
- name: Build pdf doc
5959
shell: bash -l {0}
6060
run: |
6161
sudo DEBIAN_FRONTEND=noninteractive sudo apt-get update
6262
sudo DEBIAN_FRONTEND=noninteractive apt-get install $(build/bin/sage-get-system-packages debian texlive texlive_luatex free_fonts xindy)
6363
meson compile -C builddir doc-pdf
6464
65-
- name: Build live documentation
65+
- name: Build live doc
6666
shell: bash -l {0}
6767
run: |
6868
meson compile -C builddir doc-html -j1
@@ -75,8 +75,9 @@ jobs:
7575
id: copy
7676
run: |
7777
mkdir -p ./doc
78-
# Zip everything for increased performance
79-
cp -rL builddir/src/doc/* doc/
78+
cp -r builddir/src/doc/pdf doc/
79+
cp -rL builddir/src/doc/html doc/
80+
cp builddir/src/doc/index.html doc/
8081
zip -r livedoc.zip doc
8182
8283
- name: Upload livedoc

0 commit comments

Comments
 (0)