Skip to content

Commit ad7ee84

Browse files
committed
update workflow for JB 2.0
1 parent 41c8fc1 commit ad7ee84

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/check_jupyterbook.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ jobs:
1515
with:
1616
activate-environment: jb-git-tutorial
1717
environment-file: environment.yml
18-
python-version: 3.7
18+
python-version: 3.13
1919
auto-activate-base: false
2020

2121
- name: Build # Build Jupyter Book
2222
shell: bash -l {0}
2323
run: |
24-
jb build ./book
24+
cd book
25+
jupyter-book build

.github/workflows/deploy_jupyterbook.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ jobs:
1818
with:
1919
activate-environment: jb-git-tutorial
2020
environment-file: environment.yml
21-
python-version: 3.7
21+
python-version: 3.13
2222
auto-activate-base: false
2323

2424
- name: Build # Build Jupyter Book
2525
shell: bash -l {0}
2626
run: |
2727
cd book
28-
jb build .
28+
jupyter-book build
2929
3030
- name: Deploy
3131
uses: JamesIves/github-pages-deploy-action@releases/v3

0 commit comments

Comments
 (0)