Skip to content

Fix docs preview workspace ordering - #14

Merged
johnnygreco merged 1 commit into
mainfrom
johnny/fix-docs-preview-checkout
Jul 20, 2026
Merged

Fix docs preview workspace ordering#14
johnnygreco merged 1 commit into
mainfrom
johnny/fix-docs-preview-checkout

Conversation

@johnnygreco

Copy link
Copy Markdown
Collaborator

Summary

  • check out the trusted deployment workflow before downloading a preview artifact
  • preserve the preview directory through the composite Pages branch update
  • preserve the empty directory used for automatic preview teardown

Root cause

actions/checkout cleaned the workspace after preview-site was downloaded or created. The following deployment step therefore could not find its configured source directory.

Validation

  • git diff --check
  • parsed .github/workflows/docs-preview-deploy.yml with PyYAML
  • actionlint .github/workflows/docs-preview-deploy.yml

Signed-off-by: Johnny Greco <jogreco@nvidia.com>
@johnnygreco
johnnygreco merged commit dcdde8e into main Jul 20, 2026
7 checks passed
@johnnygreco
johnnygreco deleted the johnny/fix-docs-preview-checkout branch July 20, 2026 21:19
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