diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 655b0d65d..2cac58543 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -32,6 +32,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: | @@ -53,6 +58,7 @@ jobs: # run: | # mkdir -p _build/lecture-python.notebooks # cp -a _notebook_repo/. _build/lecture-python.notebooks + # cp environment.yml _build/lecture-python.notebooks # cp _build/jupyter/*.ipynb _build/lecture-python.notebooks # ls -a _build/lecture-python.notebooks # - name: Commit latest notebooks to lecture-python.notebooks diff --git a/_notebook_repo/README.md b/_notebook_repo/README.md new file mode 100644 index 000000000..c7d936976 --- /dev/null +++ b/_notebook_repo/README.md @@ -0,0 +1,7 @@ +# lecture-python.notebooks + +[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/QuantEcon/lecture-python.notebooks/master) + +Notebooks for https://python.quantecon.org + +**Note:** This README should be edited [here](https://github.com/quantecon/lecture-python.myst/_notebook_repo) diff --git a/environment.yml b/environment.yml index c67a39762..f4f8018dd 100644 --- a/environment.yml +++ b/environment.yml @@ -13,5 +13,5 @@ dependencies: - sphinx-exercise - joblib - interpolation - - sphinx-tojupyter + - git+https://github.com/quantecon/sphinx-tojupyter