Skip to content

reinit preview branches from main #1338

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 14, 2025
Merged

Conversation

Rich-Harris
Copy link
Member

For long running branches like sveltejs/svelte#15000, the preview can get quite out of date. This PR changes the behaviour such that we always reinitialize the preview branch from main before syncing the latest docs

Copy link

vercel bot commented May 14, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
svelte-dev ✅ Ready (Inspect) Visit Preview May 14, 2025 0:08am

@dummdidumm
Copy link
Member

Oh yeah this is nice, ran into this problem a few times. Code looks good but I guess we can only really see if it works once we merge?

@Rich-Harris
Copy link
Member Author

indeed. if it doesn't work i'm blaming v0

@Rich-Harris Rich-Harris merged commit 2ee9eab into main May 14, 2025
4 checks passed
@Rich-Harris Rich-Harris deleted the reinit-preview-branch-from-main branch May 14, 2025 15:07
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.

2 participants