cchung100m opened a new pull request, #612:
URL: https://github.com/apache/ozone-site/pull/612

   ## What changes were proposed in this pull request?
   
   Integrates the 
[website-comment](https://github.com/apache/infrastructure-actions/tree/main/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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to