File tree Expand file tree Collapse file tree 2 files changed +16
-8
lines changed
Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 11name : Build & Publish to GH Pages
22on :
33 push :
4- branches :
5- - master
4+ tags :
5+ - ' publish* '
66jobs :
77 publish :
8+ if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
89 runs-on : ubuntu-latest
910 steps :
1011 - name : Checkout
1718 miniconda-version : ' latest'
1819 python-version : 3.8
1920 environment-file : environment.yml
20- activate-environment : lecture-python-programming
21+ activate-environment : quantecon
2122 - name : Display Conda Environment Versions
2223 shell : bash -l {0}
2324 run : conda list
3233 shell : bash -l {0}
3334 run : |
3435 jb build lectures --path-output ./ --builder=custom --custom-builder=jupyter
36+ zip -r download-notebooks.zip _build/jupyter
37+ - uses : actions/upload-artifact@v2
38+ with :
39+ name : download-notebooks
40+ path : download-notebooks.zip
3541 - name : Copy Download Notebooks for GH-PAGES
3642 shell : bash -l {0}
3743 run : |
Original file line number Diff line number Diff line change 1- name : lecture-python-programming
1+ name : quantecon
22channels :
33 - default
44dependencies :
@@ -7,10 +7,12 @@ dependencies:
77 - pip
88 - pip :
99 - jupyter-book
10- - sphinxext-rediraffe
1110 - sphinx-multitoc-numbering
12- - joblib
13- - interpolation
14- - sphinx-tojupyter
1511 - quantecon-book-theme
12+ - sphinx-tojupyter
13+ - sphinxext-rediraffe
14+ - sphinx-exercise
15+ - jupytext
16+ - ghp-import
17+ - jupinx
1618
You can’t perform that action at this time.
0 commit comments