Skip to content

Commit b5e629c

Browse files
committed
add building of pdf using jupyterbook-latex
1 parent fddb9f1 commit b5e629c

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,24 @@ jobs:
4747
deploy-message: "Preview Deploy from GitHub Actions"
4848
env:
4949
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
50-
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
50+
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
51+
- name: Install latex dependencies
52+
run: |
53+
sudo apt-get -qq update
54+
sudo apt-get install -y \
55+
texlive-latex-recommended \
56+
texlive-latex-extra \
57+
texlive-fonts-recommended \
58+
texlive-fonts-extra \
59+
texlive-xetex \
60+
latexmk \
61+
xindy
62+
- name: Build PDF from LaTeX
63+
shell: bash -l {0}
64+
run: |
65+
jb build lectures --builder pdflatex --path-output ./ -n --keep-going
66+
- name: Save Build as Artifact
67+
uses: actions/upload-artifact@v1
68+
with:
69+
name: _build
70+
path: _build

0 commit comments

Comments
 (0)