Skip to content

Commit 86fe56b

Browse files
committed
feat: deploy PR preview to gh pages
1 parent 0b2c140 commit 86fe56b

File tree

2 files changed

+10
-30
lines changed

2 files changed

+10
-30
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,14 @@ jobs:
1919
- name: Install uv
2020
uses: astral-sh/setup-uv@v6
2121

22-
- name: Validate
22+
- name: Build Docs in HTML
2323
run: VERSION=${{ github.event.repository.default_branch }} JOBS=4 MODE=html make all
24+
25+
- name: Deploy PR Doc Preview
26+
uses: rossjrw/pr-preview-action@v1
27+
with:
28+
source-dir: ../cpython/Doc/build/html
29+
preview-branch: gh-pages
30+
token: ${{ secrets.GITHUB_TOKEN }}
31+
umbrella-dir: pr-preview
32+
action: auto

.github/workflows/deploy-gh-page.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)