Skip to content

[fix]: align preview workflows to target 'site' branch - #105

Merged
rishiraj38 merged 1 commit into
layer5io:masterfrom
banana-three-join:fix/preview-deployment
Aug 20, 2026
Merged

[fix]: align preview workflows to target 'site' branch#105
rishiraj38 merged 1 commit into
layer5io:masterfrom
banana-three-join:fix/preview-deployment

Conversation

@banana-three-join

@banana-three-join banana-three-join commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Reason

layer5io/recognition settings are configured to serve content from the site branch but the deployment and pruning steps in the Website Preview Post-Build action were directed to gh-pages so a substitution to the target branch is needed.

Changes

  • Preview Deployment: Configured rossjrw/pr-preview-action to deploy PR previews explicitly to the site branch.
  • Preview Retention: Updated the prune job to checkout, fetch, clean up, and push changes directly against site instead of gh-pages.

Signed commits

  • Yes, I signed my commits.

Summary by CodeRabbit

  • Chores
    • Updated preview deployments to use the site branch.
    • Adjusted preview retention cleanup to target the new branch.
    • Preserved retry handling and best-effort cleanup behavior.

Signed-off-by: Lenox Wiltshire <lenoxwiltshire@gmail.com>
@github-actions github-actions Bot added area/ci Continuous integration | Build and release component/kanvas-docs labels Aug 20, 2026
@coderabbitai

coderabbitai Bot commented Aug 20, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: eddacba0-359d-4759-9241-0e301c7609a0

📥 Commits

Reviewing files that changed from the base of the PR and between d71a68d and 44fd488.

📒 Files selected for processing (1)
  • .github/workflows/deploy-preview-site.yml

📝 Walkthrough

Walkthrough

The preview deployment workflow now uses the site branch for deployment and retention pruning. It updates checkout paths, fetch and push commands, and concurrency warnings. Retry and best-effort failure behavior remains unchanged.

Changes

Site branch deployment and retention pruning

Layer / File(s) Summary
Preview deployment and retention pruning
.github/workflows/deploy-preview-site.yml
Preview deployment and retention maintenance now target site. Maintenance uses the site-maintenance directory and updated fetch, push, and concurrency messages. Retry and non-failing fallback behavior remain unchanged.

Estimated code review effort: 2 (Simple) | ~10 minutes

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@rishiraj38
rishiraj38 merged commit 7cd30f5 into layer5io:master Aug 20, 2026
3 of 4 checks passed
@github-actions

Copy link
Copy Markdown

Preview removed because the pull request was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ci Continuous integration | Build and release component/kanvas-docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants