-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (36 loc) · 896 Bytes
/
github-pages.yaml
File metadata and controls
45 lines (36 loc) · 896 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
44
45
name: Publish documentation
on:
push:
branches:
- master
workflow_dispatch:
concurrency:
cancel-in-progress: true
group: github-pages
jobs:
publish:
name: Publish documentation
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
contents: read
pages: write
id-token: write
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v6
- name: Configure Pages
uses: actions/configure-pages@v6
- name: Install uv
run: sh ci/install-uv.sh
- name: Build documentation
run: sh ci/build-docs.sh
- name: Upload artifact
uses: actions/upload-pages-artifact@v5
with:
path: html
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5