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
12 changes: 9 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name: Build & Publish to GH Pages
on:
push:
branches:
- master
tags:
- 'publish*'
jobs:
publish:
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -17,7 +18,7 @@ jobs:
miniconda-version: 'latest'
python-version: 3.8
environment-file: environment.yml
activate-environment: lecture-python-programming
activate-environment: quantecon
- name: Display Conda Environment Versions
shell: bash -l {0}
run: conda list
Expand All @@ -32,6 +33,11 @@ jobs:
shell: bash -l {0}
run: |
jb build lectures --path-output ./ --builder=custom --custom-builder=jupyter
zip -r download-notebooks.zip _build/jupyter
- uses: actions/upload-artifact@v2
with:
name: download-notebooks
path: download-notebooks.zip
- name: Copy Download Notebooks for GH-PAGES
shell: bash -l {0}
run: |
Expand Down
12 changes: 7 additions & 5 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: lecture-python-programming
name: quantecon
channels:
- default
dependencies:
Expand All @@ -7,10 +7,12 @@ dependencies:
- pip
- pip:
- jupyter-book
- sphinxext-rediraffe
- sphinx-multitoc-numbering
- joblib
- interpolation
- sphinx-tojupyter
- quantecon-book-theme
- sphinx-tojupyter
- sphinxext-rediraffe
- sphinx-exercise
- jupytext
- ghp-import
- jupinx