Skip to content
Merged
Show file tree
Hide file tree
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
17 changes: 16 additions & 1 deletion .github/workflows/forkdiff-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
needs: render
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
url: ${{ steps.deployment.outputs.page_url || steps.deployment-retry.outputs.page_url }}
runs-on: ubuntu-latest
timeout-minutes: 20
permissions:
Expand Down Expand Up @@ -114,7 +114,22 @@ jobs:
with:
path: tmp/pages

# deploy-pages looks the github-pages artifact up in this run's artifact
# list as soon as it starts, and that list can lag the upload above: the
# first try then fails with "No artifacts named github-pages were found"
# (seen on 2026-11-14). Only when the first try failed before it created a
# deployment (no page_url), wait and try once more.
- name: Deploy to GitHub Pages
if: steps.pages.outputs.enabled == 'true'
id: deployment
continue-on-error: true
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5

- name: Wait before the second try
if: steps.pages.outputs.enabled == 'true' && steps.deployment.outcome == 'failure' && steps.deployment.outputs.page_url == ''
run: sleep 20

- name: Deploy to GitHub Pages (second try)
if: steps.pages.outputs.enabled == 'true' && steps.deployment.outcome == 'failure' && steps.deployment.outputs.page_url == ''
id: deployment-retry
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
4 changes: 3 additions & 1 deletion FORKDIFF.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ script under PRoot, built from pinned source with its missing ARM64 `faccessat2`
entry added. PRoot fakes root through ptrace and is not an isolation boundary;
the job VM is. The Fedora x86_64 job keeps its hosted runner: emulating x86 on
ARM was not qualified. The GitHub-hosted Pages job still packages and publishes
the rendered artifact through its protected environment. The disabled native CodeQL workflow keeps its separate routing
the rendered artifact through its protected environment. If its first deploy
fails before it creates a deployment (the packaged artifact is not listed yet),
it waits 20 seconds and tries once more. The disabled native CodeQL workflow keeps its separate routing
and activation rules.

## The gate
Expand Down
Loading