Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 22 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,30 @@ jobs:
branch: main
name: build-cache
path: _build
- name: Install latex dependencies
run: |
sudo apt-get -qq update
sudo apt-get install -y \
texlive-latex-recommended \
texlive-latex-extra \
texlive-fonts-recommended \
texlive-fonts-extra \
texlive-xetex \
latexmk \
xindy
- name: Build PDF from LaTeX
shell: bash -l {0}
run: |
jb build lectures --builder pdflatex --path-output ./ -n --keep-going
- name: Copy pdf assets
shell: bash -l {0}
run: |
mkdir _build/html/_pdf
cp _build/latex/*.pdf _build/html/_pdf
- name: Build HTML
shell: bash -l {0}
run: |
jb build -W --keep-going lectures --path-output ./
jb build lectures --path-output ./
- name: Save Build as Artifact
uses: actions/upload-artifact@v1
with:
Expand All @@ -46,4 +66,4 @@ jobs:
deploy-message: "Preview Deploy from GitHub Actions"
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ dependencies:
- pip:
- jupyter-book
- sphinx-multitoc-numbering
- quantecon-book-theme
- sphinx-tojupyter
- sphinxext-rediraffe
- sphinx-exercise
- jupytext
- ghp-import
- jupinx
- git+git://github.com/QuantEcon/quantecon-book-theme@download-pdf
# Temporary Fixes
- tornado>=6.1