Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions 6 .github/workflows/pdf-at-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@ jobs:
working-directory: documentation
run: mkdocs build --clean

# Publishing the preview and commenting need a writable GITHUB_TOKEN,
# which pull_request from a fork does not get (token is read-only there).
# Skip these steps for fork PRs so the check stays green after the build
# step has already validated the docs; internal branches still publish.
- name: Publish to `www` branch
if: github.event.pull_request.head.repo.full_name == github.repository
working-directory: www
run: |
mkdir -p "${{ github.event.number }}"
Expand All @@ -62,6 +67,7 @@ jobs:
git push origin www || true

- name: Comment on PR with preview link
if: github.event.pull_request.head.repo.full_name == github.repository
uses: devindford/Append_PR_Comment@v1.1.3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.