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
4 changes: 2 additions & 2 deletions .github/workflows/cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
build-cache:
runs-on: ubuntu-latest
container:
image: ghcr.io/quantecon/quantecon:latest
image: ghcr.io/quantecon/quantecon-build:latest

permissions:
contents: read
Expand All @@ -28,7 +28,7 @@ jobs:
uses: actions/checkout@v4

- name: Build and Cache
uses: quantecon/actions/build-jupyter-cache@v0
uses: quantecon/actions/build-jupyter-cache@v0.5.0
with:
builders: 'html'
source-dir: 'lectures'
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,34 @@ jobs:
preview:
runs-on: ubuntu-latest
container:
image: ghcr.io/quantecon/quantecon:latest
image: ghcr.io/quantecon/quantecon-build:latest

permissions:
contents: read
packages: read
pull-requests: write

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Restore Build Cache
id: cache
uses: quantecon/actions/restore-jupyter-cache@v0
uses: quantecon/actions/restore-jupyter-cache@v0.5.0
with:
cache-type: 'build'
source-dir: 'lectures'

- name: Build HTML
id: build
uses: quantecon/actions/build-lectures@v0
uses: quantecon/actions/build-lectures@v0.5.0
with:
source-dir: 'lectures'
builder: 'html'
upload-failure-reports: true

- name: Deploy to Netlify
uses: quantecon/actions/preview-netlify@v0
uses: quantecon/actions/preview-netlify@v0.5.0
with:
build-dir: ${{ steps.build.outputs.build-path }}
netlify-auth-token: ${{ secrets.NETLIFY_AUTH_TOKEN }}
Expand Down
54 changes: 0 additions & 54 deletions .github/workflows/collab.yml.disabled

This file was deleted.

10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
runs-on: ubuntu-latest
container:
image: ghcr.io/quantecon/quantecon:latest
image: ghcr.io/quantecon/quantecon-build:latest
environment:
name: github-pages
url: ${{ steps.deploy.outputs.page-url }}
Expand All @@ -28,22 +28,22 @@ jobs:
uses: actions/checkout@v4

- name: Build PDF
uses: quantecon/actions/build-lectures@v0
uses: quantecon/actions/build-lectures@v0.5.0
with:
source-dir: 'lectures'
builder: 'pdflatex'
upload-failure-reports: true

- name: Build Notebooks
uses: quantecon/actions/build-lectures@v0
uses: quantecon/actions/build-lectures@v0.5.0
with:
source-dir: 'lectures'
builder: 'jupyter'
upload-failure-reports: true

- name: Build HTML
id: build
uses: quantecon/actions/build-lectures@v0
uses: quantecon/actions/build-lectures@v0.5.0
with:
source-dir: 'lectures'
builder: 'html'
Expand All @@ -53,6 +53,6 @@ jobs:

- name: Deploy to GitHub Pages
id: deploy
uses: quantecon/actions/publish-gh-pages@v0
uses: quantecon/actions/publish-gh-pages@v0.5.0
with:
build-dir: ${{ steps.build.outputs.build-path }}
4 changes: 2 additions & 2 deletions _notebook_repo/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ name: lecture-python-intro
channels:
- default
dependencies:
- python=3.10
- anaconda=2023.03
- python=3.13
- anaconda=2025.12

10 changes: 5 additions & 5 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ channels:
- default
dependencies:
- python=3.13
- anaconda=2025.06
- anaconda=2025.12
- pip
- pip:
- jupyter-book==1.0.4post1
- quantecon-book-theme==0.9.2
- sphinx-tojupyter==0.3.1
- quantecon-book-theme==0.10.1
- sphinx-tojupyter==0.4.0
- sphinxext-rediraffe==0.2.7
- sphinx-exercise==1.0.1
- sphinx-exercise==1.2.0
- sphinx-proof==0.2.1
- sphinxcontrib-youtube==1.4.1
- sphinx-togglebutton==0.3.2
- sphinx-reredirects==1.0.0
- sphinx-reredirects==0.1.4