-
Notifications
You must be signed in to change notification settings - Fork 3
37 lines (29 loc) · 804 Bytes
/
Copy pathdocs.yml
File metadata and controls
37 lines (29 loc) · 804 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:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: write
jobs:
docs:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
cache-python: true
- name: Install docs dependencies
run: uv sync --group docs
- name: Configure git
run: |
git config --local user.name "GitHub Actions Bot"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: Deploy docs for main:latest to gh-pages branch
run: uv run mike deploy --push --update-aliases main