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 1ba0cab commit ff410d9Copy full SHA for ff410d9
2 files changed
.github/workflows/gh-pages.yml
@@ -0,0 +1,34 @@
1
+name: deploy-book
2
+
3
+on:
4
+ workflow_dispatch:
5
+ push:
6
+ branches:
7
+ - main
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v2
14
15
+ - name: Install Python 3.12
16
+ uses: actions/setup-python@v2
17
+ with:
18
+ python-version: 3.12
19
20
+ - name: Install Jupyter Book
21
+ run: |
22
+ pip install -r requirements.txt
23
24
+ - name: Build the book
25
26
+ jupyter-book build ./book
27
28
+ - name: Deploy to GitHub Pages # push to gh-pages
29
+ uses: peaceiris/actions-gh-pages@v3
30
31
+ github_token: ${{ secrets.GITHUB_TOKEN }}
32
+ publish_dir: ./book/_build/html
33
34
.gitignore
@@ -0,0 +1 @@
+_build
0 commit comments