We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63ff83b commit edbdcd3Copy full SHA for edbdcd3
.github/workflows/build-book.yml
@@ -0,0 +1,35 @@
1
+name: Build Book
2
+
3
+# Run this on pull requests
4
+on:
5
+ pull_request:
6
+ branches:
7
+ - main
8
9
+jobs:
10
+ build-book:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v3
14
15
+ # Install dependencies
16
+ - name: Set up Python 3.11
17
+ uses: actions/setup-python@v4
18
+ with:
19
+ python-version: 3.11
20
21
+ - name: Install dependencies
22
+ run: |
23
+ pip install -r requirements.txt
24
25
+ # (optional) Cache your executed notebooks between runs
26
+ - name: Cache executed notebooks
27
+ uses: actions/cache@v3
28
29
+ path: _build/.jupyter_cache
30
+ key: jupyter-book-cache-${{ hashFiles('requirements.txt') }}
31
32
+ # Build the book
33
+ - name: Build the book
34
35
+ jupyter-book build .
0 commit comments