Skip to content

Commit 4e48a07

Browse files
author
Murilo M. Marinho
committed
[GithubActions] Building html with jupyter book.
1 parent 3017687 commit 4e48a07

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/notebook_to_html.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This is a basic workflow to help you get started with Actions
22

3-
name: CI
3+
name: Jupyter Book
44

55
# Controls when the workflow will run
66
on:
@@ -26,11 +26,11 @@ jobs:
2626
- uses: actions/checkout@v4
2727

2828
# Runs a set of commands using the runners shell
29-
- name: Run a multi-line script
29+
- name: Install dependencies and build page
3030
run: |
31-
mkdir -p website
32-
python -m pip install jupyter
33-
python -m jupyter nbconvert --output-dir='./website' --execute --to html lesson1_tutorial.ipynb
31+
python -m pip install jupyter-book --pre
32+
python3 -m jupyter book build --all --execute
33+
cp -r _build/html website
3434
3535
- name: Setup git name
3636
run: |

0 commit comments

Comments
 (0)