-
Notifications
You must be signed in to change notification settings - Fork 4
43 lines (35 loc) · 898 Bytes
/
sphinx.yml
File metadata and controls
43 lines (35 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Sphinx-docs
on:
push:
branches:
- main
- documentation-staging
workflow_dispatch:
jobs:
pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Pandoc
uses: pandoc/actions/setup@v1
with:
version: 3.5
- name: Install dependencies
run: pip install -r docs/requirements.txt
- name: Build HTML
run: python -m sphinx.cmd.build -M html docs/source docs/build
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: html-docs
path: docs/build/html/
# - name: Deploy
# uses: sphinx-notes/pages@v3
# with:
# publish: true
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.DOCSITE_TOKEN }}
publish_branch: gh-pages
publish_dir: docs/build/html