Use Playground v3 reusable workflows for docs previews - #28
Merged
dmsnell merged 1 commit intoJun 15, 2026
Conversation
dmsnell
merged commit Jun 15, 2026
2acd7bf
into
dmsnell:docs/add-playground-preview-codex
4 checks passed
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.
Summary
This swaps the custom docs preview publisher for the Playground PR Preview v3 reusable workflows.
The docs-specific build script still creates the DevHub snapshot, but the generic artifact publishing, release asset management, URL substitution, and PR comment handling now live in
WordPress/action-wp-playground-pr-previewinstead of this repository.Changes
preview-build.ymlto run the docs snapshot build and stagedocs-playground-snapshot.zipas a named Playground preview artifact.preview-publish.ymlwith a custom Blueprint that unzips the generated snapshot into/wordpressand restoressiteurl/homeat runtime.publish.mjsimplementation.Validation
git diff --checknode --check .github/scripts/docs-playground-preview/build.mjsuvx zizmor .github/workflows/docs-playground-preview-build.yml .github/workflows/docs-playground-preview-publish.ymlNote: I did not rerun the full 30-minute snapshot build locally. The existing snapshot-shape failure in the parent PR may still need a separate fix.