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 11name : build
22
3+ concurrency : preview-${{ github.ref }}
4+
5+ permissions :
6+ contents : write
7+ pull-requests : write
8+
39on :
410 pull_request :
511
1925 - name : Install uv
2026 uses : astral-sh/setup-uv@v6
2127
22- - name : Validate
28+ - name : Build HTML Docs
2329 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 2323 - name : Deploy to gh page
24242525 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