Repository navigation
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
…f S3 The Docs workflow uploads the rendered docs as an artifact. A new Docs Preview workflow, triggered by workflow_run, syncs it to nightlies.apache.org/arrow/pr_docs/<date>/<PR>/ and comments the link on the pull request. The same sync removes previews older than 14 days. Pull requests that change docs get a preview automatically. For any other pull request a committer can comment "@github-actions docs-preview", which dispatches the Docs workflow for the current head commit. Those builds use no secrets and only restore caches. This replaces the crossbow preview-docs task and its S3 upload. The docs builds no longer receive the Docker Hub credentials, which archery docker run never used.
rok
force-pushed
the
claude/docs-preview-github-artifacts-12ef8b
branch
from
November 17, 2026 20:41
1374aff to
729135d
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves PR docs previews from the crossbow
preview-docstask and S3 to GitHub Actions and nightlies.apache.org.Build (
docs.yml): uploads the rendered docs as adocs-previewartifact. Runs automatically for PRs that changedocs/**orcpp/apidoc/**.Request (
comment_bot.yml): on any other PR a committer comments@github-actions docs-preview, which dispatchesdocs.ymlfor the PR's current head commit. These builds use no secrets and only restore caches.Publish (
docs_preview.yml): onworkflow_run, rsyncs the artifact tonightlies.apache.org/arrow/pr_docs/<date>/<PR>/. It never runs PR code and treats the artifact as untrusted.Link: after publishing, the workflow comments on the PR with the preview URL and updates that same comment on later builds:
A failed build posts nothing.
Cleanup: the same rsync call deletes previews older than 14 days. No cleanup job, no
pull_request_target.Also:
docs_light.ymlis renamed toDocs Light, soworkflow_runcan select the complete build by name.archery docker runnever used them.preview-docstask, its S3 upload and the old screenshots are removed; the developer docs describe the new flow.