Skip to content

Commit d7fd33f

Browse files
committed
ci: ensure html & error sooner
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
1 parent 7486c39 commit d7fd33f

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
with:
3636
name: jupyterbook
3737
path: _build/html/*
38+
if-no-files-found: error
3839

3940

4041
build-pyodide:
@@ -53,6 +54,7 @@ jobs:
5354
with:
5455
name: jupyterlite
5556
path: _output/*
57+
if-no-files-found: error
5658

5759

5860
deploy:

pixi.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ rich = ">=11"
2626

2727
[tasks]
2828
lab = "jupyter lab"
29-
book = "python -m ipykernel install --user --name conda-env-level-up-your-python-py && jupyter-book build --execute"
30-
book-ci = "python -m ipykernel install --user --name conda-env-level-up-your-python-py && jupyter-book build --execute --ci"
31-
pdf = "python -m ipykernel install --user --name conda-env-level-up-your-python-py && jupyter-book build --pdf --execute"
29+
book = "python -m ipykernel install --user --name conda-env-level-up-your-python-py && jupyter book build --execute --html"
30+
book-ci = "python -m ipykernel install --user --name conda-env-level-up-your-python-py && jupyter book build --execute --ci --html"
31+
pdf = "python -m ipykernel install --user --name conda-env-level-up-your-python-py && jupyter book build --pdf --execute"

0 commit comments

Comments
 (0)