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 1
1
name : Build & Publish to GH Pages
2
2
on :
3
3
push :
4
- branches :
5
- - master
4
+ tags :
5
+ - ' publish* '
6
6
jobs :
7
7
publish :
8
+ if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
8
9
runs-on : ubuntu-latest
9
10
steps :
10
11
- name : Checkout
17
18
miniconda-version : ' latest'
18
19
python-version : 3.8
19
20
environment-file : environment.yml
20
- activate-environment : lecture-python-programming
21
+ activate-environment : quantecon
21
22
- name : Display Conda Environment Versions
22
23
shell : bash -l {0}
23
24
run : conda list
32
33
shell : bash -l {0}
33
34
run : |
34
35
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
35
41
- name : Copy Download Notebooks for GH-PAGES
36
42
shell : bash -l {0}
37
43
run : |
Original file line number Diff line number Diff line change 1
- name : lecture-python-programming
1
+ name : quantecon
2
2
channels :
3
3
- default
4
4
dependencies :
@@ -7,10 +7,12 @@ dependencies:
7
7
- pip
8
8
- pip :
9
9
- jupyter-book
10
- - sphinxext-rediraffe
11
10
- sphinx-multitoc-numbering
12
- - joblib
13
- - interpolation
14
- - sphinx-tojupyter
15
11
- quantecon-book-theme
12
+ - sphinx-tojupyter
13
+ - sphinxext-rediraffe
14
+ - sphinx-exercise
15
+ - jupytext
16
+ - ghp-import
17
+ - jupinx
16
18
You can’t perform that action at this time.
0 commit comments