-
-
Notifications
You must be signed in to change notification settings - Fork 224
38 lines (29 loc) · 842 Bytes
/
ci.yml
File metadata and controls
38 lines (29 loc) · 842 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
name: build
concurrency: preview-${{ github.ref }}
permissions:
contents: write
pull-requests: write
on:
pull_request:
jobs:
ci:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install Dependencies
run: sudo apt-get install gettext
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Build HTML Docs
run: VERSION=${{ github.event.repository.default_branch }} JOBS=4 MODE=html make all
- name: Deploy PR Doc Preview
uses: rossjrw/pr-preview-action@v1
with:
source-dir: ../cpython/Doc/build/html
token: ${{ secrets.GITHUB_TOKEN }}
preview-branch: gh-pages
umbrella-dir: pr-preview
action: auto