Skip to content
Merged
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
7 changes: 0 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ jobs:
python-version: 3.8
environment-file: environment.yml
activate-environment: lecture-python-programming
- name: Install QuantEcon Book Theme
shell: bash -l {0}
run: |
git clone https://github.com/quantecon/quantecon-book-theme
cd quantecon-book-theme && git checkout download-nb
python setup.py install
cd .. && rm -r quantecon-book-theme
- name: Display Conda Environment Versions
shell: bash -l {0}
run: conda list
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
miniconda-version: 'latest'
python-version: 3.8
environment-file: environment.yml
activate-environment: qe-lectures
activate-environment: lecture-python-programming
- name: Display Conda Environment Versions
shell: bash -l {0}
run: conda list
Expand All @@ -28,6 +28,12 @@ jobs:
shell: bash -l {0}
run: |
jb build lectures --path-output ./
- name: Build Download Notebooks (sphinx-tojupyter)
shell: bash -l {0}
run: |
jb build lectures --path-output ./ --builder=custom --custom-builder=jupyter
mkdir _build/html/_notebooks
cp _build/jupyter/*.ipynb _build/html/_notebooks
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ dependencies:
- joblib
- interpolation
- git+https://github.com/QuantEcon/sphinx-tojupyter.git
- git+https://github.com/QuantEcon/quantecon-book-theme.git