-
-
Notifications
You must be signed in to change notification settings - Fork 61
45 lines (36 loc) · 1.04 KB
/
docs.yml
File metadata and controls
45 lines (36 loc) · 1.04 KB
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: Snuba Docs
on:
push:
branches:
- master
jobs:
docs:
name: Sphinx
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: astral-sh/setup-uv@e06108dd0aef18192324c70427afc47652e63a82 # v7.5.0
with:
# we just cache the venv-dir directly in action-setup-venv
enable-cache: false
- uses: getsentry/action-setup-venv@5a80476d175edf56cb205b08bc58986fa99d1725 # v3.2.0
with:
cache-dependency-path: docs-requirements.txt
install-cmd: echo
- name: Generate config schema docs
run: |
make generate-config-docs
- name: Build docs
run: |
make snubadocs
- uses: peaceiris/[email protected]
name: Publish to GitHub Pages
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build
force_orphan: true
- name: Archive Docs
uses: actions/upload-artifact@v7
with:
name: docs
path: docs/build