Skip to content

Commit bcca7e5

Browse files
committed
Wrapped jupyterbook build command via Makefile
1 parent eedd7ae commit bcca7e5

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/deploy-book.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
pip install -r requirements.txt
7676
7777
- name: Build Jupyter Book
78-
run: jupyter-book build .
78+
run: make docs
7979

8080
- name: Deploy to GitHub Pages
8181
if: ${{ (github.ref == 'refs/heads/master') && startsWith(matrix.os, 'ubuntu') }}

Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
BUILD_DIR = ./_build
2+
SRC_DIR = .
3+
4+
docs:
5+
jupyter-book build .
6+
7+
docs-strict:
8+
jupyter-book build --warningiserror --nitpick --keep-going .
9+
10+
.PHONY: clean
11+
12+
clean:
13+
jupyter-book clean .

0 commit comments

Comments
 (0)