Skip to content

Commit ac2d87f

Browse files
committedDec 10, 2024
change theme
1 parent 8a3f086 commit ac2d87f

File tree

106 files changed

+153
-5718
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+153
-5718
lines changed
 

Diff for: ‎.DS_Store

6 KB
Binary file not shown.

Diff for: ‎.github/workflows/publish.yml

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: deploy-book
2+
3+
on:
4+
# Trigger the workflow on push to main branch
5+
push:
6+
branches:
7+
- main
8+
9+
env:
10+
BASE_URL: /${{ github.event.repository.name }}
11+
12+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
13+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
14+
concurrency:
15+
group: "pages"
16+
cancel-in-progress: false
17+
18+
jobs:
19+
deploy-book:
20+
runs-on: ubuntu-latest
21+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
22+
permissions:
23+
pages: write
24+
id-token: write
25+
steps:
26+
- uses: actions/checkout@v3
27+
28+
# Install dependencies
29+
- name: Set up Python 3.12
30+
uses: actions/setup-python@v4
31+
with:
32+
python-version: 3.12
33+
34+
- name: Install dependencies
35+
run: |
36+
pip install -r requirements.txt
37+
38+
# Build the book
39+
- name: Build the book
40+
run: |
41+
jb build docs --path-output ./ -nW --keep-going
42+
43+
# Upload the book's HTML as an artifact
44+
- name: Upload artifact
45+
uses: actions/upload-pages-artifact@v2
46+
with:
47+
path: "_build/html"
48+
49+
# Deploy the book's HTML to GitHub Pages
50+
- name: Deploy to GitHub Pages
51+
id: deployment
52+
uses: actions/deploy-pages@v2

0 commit comments

Comments
 (0)