Skip to content

Commit 835e34d

Browse files
committed
latexpdf first, update to 2021.11 anaconda
1 parent 2c6d7a3 commit 835e34d

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/publish.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,15 @@ jobs:
4444
# name: build-cache
4545
# path: _build
4646
# Build Assets (Download Notebooks, PDF via LaTeX)
47+
- name: Build PDF from LaTeX
48+
shell: bash -l {0}
49+
run: |
50+
jb build lectures --builder pdflatex --path-output ./ -n -W --keep-going
51+
- name: Copy LaTeX PDF for GH-PAGES
52+
shell: bash -l {0}
53+
run: |
54+
mkdir -p _build/html/_pdf
55+
cp -u _build/latex/*.pdf _build/html/_pdf
4756
- name: Build Download Notebooks (sphinx-tojupyter)
4857
shell: bash -l {0}
4958
run: |
@@ -58,15 +67,6 @@ jobs:
5867
run: |
5968
mkdir -p _build/html/_notebooks
6069
cp -u _build/jupyter/*.ipynb _build/html/_notebooks
61-
- name: Build PDF from LaTeX
62-
shell: bash -l {0}
63-
run: |
64-
jb build lectures --builder pdflatex --path-output ./ -n -W --keep-going
65-
- name: Copy LaTeX PDF for GH-PAGES
66-
shell: bash -l {0}
67-
run: |
68-
mkdir -p _build/html/_pdf
69-
cp -u _build/latex/*.pdf _build/html/_pdf
7070
# Final Build of HTML (with assets)
7171
- name: Build HTML
7272
shell: bash -l {0}

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ channels:
33
- default
44
dependencies:
55
- python=3.8
6-
- anaconda=2021.05
6+
- anaconda=2021.11
77
- pip
88
- pip:
99
- jupyter-book==0.12.1

0 commit comments

Comments
 (0)