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.
2 parents e1e7ae7 + aa3bf4d commit e2872e9Copy full SHA for e2872e9
.github/workflows/publish-book.yml
@@ -0,0 +1,33 @@
1
+name: publish-book
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ deploy-book:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
14
+ - name: Set up Python 3.10
15
+ uses: actions/setup-python@v4
16
+ with:
17
+ python-version: "3.10"
18
19
+ - name: Install dependencies
20
+ run: |
21
+ python -m pip install --upgrade pip setuptools
22
+ python -m pip install .[docs]
23
+ pip install jupyter-book sphinxcontrib-mermaid
24
25
+ - name: Build the book
26
27
+ jupyter-book build .
28
29
+ - name: GitHub Pages action
30
+ uses: peaceiris/[email protected]
31
32
+ github_token: ${{ secrets.GITHUB_TOKEN }}
33
+ publish_dir: ./_build/html
0 commit comments