Skip to content

HDDS-17507. Integrate website-comment action for PR preview - #612

Open
cchung100m wants to merge 1 commit into
apache:masterfrom
cchung100m:HDDS-17507
Open

cchung100m wants to merge 1 commit into
apache:masterfrom
cchung100m:HDDS-17507

Conversation

@cchung100m

Copy link
Copy Markdown

What changes were proposed in this pull request?

Integrates the website-comment action so that reviewers can open a temporary preview of a website pull request at https://ozone-pr<N>.staged.apache.org/. Previews are opt-in per pull request: a committer adds the preview label or comments /show-preview.

  • docusaurus.yml: for pull_request events, upload a copy of the website build with preview-artifact, only when the pull request changes files the website is built from.
  • ci.yml: grant pull-requests: read to the docusaurus job so preview-artifact can read the changed files.
  • preview-signal.yml (new): triggers the publisher on label, close and reopen events, which start no build.
  • preview-publish.yml (new): publishes and retires previews with preview-publish. It runs from the default branch and never checks out pull request code.

What is the link to the Apache Jira?

https://issues.apache.org/jira/browse/HDDS-17507

How was this patch tested?

  • yamllint with the repository's .yamllint.yml passes for the changed and new workflow files.
  • The workflow triggers run from the default branch, so the full flow is tested on a fork.

@cchung100m
cchung100m marked this pull request as ready for review November 30, 2026 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant