We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b2c140 commit b1f7c9fCopy full SHA for b1f7c9f
.github/workflows/ci.yml
@@ -3,6 +3,10 @@ name: build
3
on:
4
pull_request:
5
6
+permissions:
7
+ pages: write
8
+ contents: write
9
+
10
jobs:
11
ci:
12
runs-on: ubuntu-22.04
@@ -19,5 +23,14 @@ jobs:
19
23
- name: Install uv
20
24
uses: astral-sh/setup-uv@v6
21
25
22
- - name: Validate
26
+ - name: Build Docs in HTML
27
run: VERSION=${{ github.event.repository.default_branch }} JOBS=4 MODE=html make all
28
29
+ - name: Deploy PR Doc Preview
30
+ uses: rossjrw/pr-preview-action@v1
31
+ with:
32
+ source-dir: ../cpython/Doc/build/html
33
+ preview-branch: gh-pages
34
+ token: ${{ secrets.GITHUB_TOKEN }}
35
+ umbrella-dir: pr-preview
36
+ action: auto
.github/workflows/deploy-gh-page.yml
0 commit comments