File tree Expand file tree Collapse file tree 2 files changed +21
-5
lines changed Expand file tree Collapse file tree 2 files changed +21
-5
lines changed Original file line number Diff line number Diff line change 1
1
name : build
2
2
3
+ concurrency : preview-${{ github.ref }}
4
+
5
+ permissions :
6
+ contents : write
7
+ pull-requests : write
8
+
3
9
on :
4
10
pull_request :
5
11
19
25
- name : Install uv
20
26
uses : astral-sh/setup-uv@v6
21
27
22
- - name : Validate
28
+ - name : Build HTML Docs
23
29
run : VERSION=${{ github.event.repository.default_branch }} JOBS=4 MODE=html make all
30
+
31
+ - name : Deploy PR Doc Preview
32
+ uses : rossjrw/pr-preview-action@v1
33
+ with :
34
+ source-dir : ../cpython/Doc/build/html
35
+ token : ${{ secrets.GITHUB_TOKEN }}
36
+ preview-branch : gh-pages
37
+ umbrella-dir : pr-preview
38
+ action : auto
Original file line number Diff line number Diff line change 23
23
- name : Deploy to gh page
24
24
25
25
with :
26
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
27
- BRANCH : gh-pages
28
- FOLDER : ../cpython/Doc/build/html
29
- CLEAN : true
26
+ token : ${{ secrets.GITHUB_TOKEN }}
27
+ branch : gh-pages
28
+ folder : ../cpython/Doc/build/html
29
+ clean : true
30
+ clean-exclude : pr-preview/
You can’t perform that action at this time.
0 commit comments