4 Commits
Author SHA1 Message Date
Calixte Denizet 3836a81166 Link the PR test PDFs in the viewer preview comment
Publish the PDFs added or modified in test/pdfs with the viewers, and
list them in the comment with links opening them in the master website
viewer and in the PR viewer, for both modern and legacy builds.

Linked PDFs aren't republished and their hosts don't allow CORS, so only
list their original URLs.
2026-11-16 17:22:17 +01:00
Calixte Denizet 55a90eb91f Extract viewer preview checks and preparation into scripts
Run preview scripts directly, use timestamps for the deployment timeout,
and remove .nojekyll creation and the jq availability check. Allow the
preview scripts to keep their executable bit in lint-chmod.
2026-10-06 21:21:14 +02:00
Calixte Denizet 06073e8344 Check preview deployment before posting links
Post build results first, then poll deployed metadata for up to 10
minutes. Add links with a warning if deployment cannot be confirmed.
2026-10-06 19:35:03 +02:00
Calixte Denizet 5b666ff546 Add pull request viewer previews
Build generic and generic-legacy viewers and report results on the PR.
Publish to pdf.js.refs for authors with write access or commits approved
with the viewer-preview label. Remove previews on PR closure and prune
stale previews during publication.
2026-10-06 18:10:30 +02:00