-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (30 loc) · 890 Bytes
/
docs.yml
File metadata and controls
37 lines (30 loc) · 890 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
name: Docs
on:
workflow_dispatch:
push:
branches: [main]
paths:
- "docs/**"
- "README.md"
- "pyproject.toml"
jobs:
main:
name: Build and deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python 3.14
uses: actions/setup-python@v6
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- name: Install dependencies
run: uv sync --group docs
- name: Build and deploy documentation
run: |
git config --global user.name "github-actions"
git config --global user.email "action@github.com"
uv run mudkip build --check --update-gh-pages --repository https://x-access-token:${GH_TOKEN}@github.com/rx-modules/bolt-expressions