From 9fd217efa0a1fe5bf5262a566f377da5e66c21bb Mon Sep 17 00:00:00 2001 From: mmcky Date: Wed, 13 Jan 2021 13:14:27 +1100 Subject: [PATCH 1/2] save downloadnb as artifacts --- .github/workflows/publish.yml | 6 ++++++ _notebook_repo/README.md | 7 +++++++ 2 files changed, 13 insertions(+) create mode 100644 _notebook_repo/README.md diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 62629708a..00ebee842 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: | @@ -48,6 +53,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) From 4a177a2d57a48cb7c705f37072b62cf579054c5e Mon Sep 17 00:00:00 2001 From: mmcky Date: Fri, 26 Feb 2021 14:54:59 +1100 Subject: [PATCH 2/2] TMP: build from master to test latest additions fix issues --- environment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment.yml b/environment.yml index 240932850..095ea213f 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