-
Notifications
You must be signed in to change notification settings - Fork 2
36 lines (34 loc) · 885 Bytes
/
sphinx.yml
File metadata and controls
36 lines (34 loc) · 885 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
name: "Sphinx: Render docs"
on:
release:
types: [published]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-slim
permissions:
contents: write
steps:
- uses: runloopai/checkout@main
with:
persist-credentials: false
- name: Install uv
uses: runloopai/setup-uv@main
with:
version: '0.9.10'
- name: Install dependencies
run: uv sync --group docs
- name: Build HTML
working-directory: docs
run: uv run make html
- name: Upload artifacts
uses: runloopai/upload-artifact@main
with:
name: html-docs
path: docs/_build/html/
- name: Deploy
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html