Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork216
fix(ci): cannot run doc preview for PR from forked repo#3933
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
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 | |
preview-branch:gh-pages | |
umbrella-dir:pr-preview | |
action:auto |