Astro v7#13872
Conversation
❌ Deploy Preview for astro-docs-2 failed. Why did it fail? →
|
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
Co-authored-by: delucis <357379+delucis@users.noreply.github.com>
…#13875) Co-authored-by: delucis <357379+delucis@users.noreply.github.com>
Co-authored-by: matthewp <361671+matthewp@users.noreply.github.com>
Co-authored-by: matthewp <361671+matthewp@users.noreply.github.com> Co-authored-by: yanthomasdev <61414485+yanthomasdev@users.noreply.github.com>
Co-authored-by: Armand Philippot <git@armand.philippot.eu>
Co-authored-by: Armand Philippot <59021693+ArmandPhilippot@users.noreply.github.com>
Co-authored-by: Armand Philippot <git@armand.philippot.eu>
Co-authored-by: Armand Philippot <git@armand.philippot.eu>
Co-authored-by: Matthew Phillips <matthewphillips@cloudflare.com>
Co-authored-by: Matthew Phillips <matthewphillips@cloudflare.com>
Co-authored-by: Matthew Phillips <matthewphillips@cloudflare.com>
Co-authored-by: Armand Philippot <git@armand.philippot.eu>
Co-authored-by: Matthew Phillips <matthewphillips@cloudflare.com> Co-authored-by: ematipico <602478+ematipico@users.noreply.github.com> Co-authored-by: yanthomasdev <61414485+yanthomasdev@users.noreply.github.com>
Co-authored-by: Armand Philippot <git@armand.philippot.eu> Co-authored-by: yanthomasdev <61414485+yanthomasdev@users.noreply.github.com>
#14037) Co-authored-by: yanthomasdev <61414485+yanthomasdev@users.noreply.github.com>
Co-authored-by: delucis <357379+delucis@users.noreply.github.com>
Co-authored-by: Armand Philippot <59021693+ArmandPhilippot@users.noreply.github.com>
- Add deploy and deploy-preview workflows from main - Add wrangler.jsonc for static site deploy (Worker: docs-v7) - Add public/.assetsignore - Replace Netlify env vars with hardcoded v7.docs.astro.build site URL - Update .gitignore (.netlify -> .wrangler) - Add wrangler as dev dependency
Bring in worker.js from main to handle localized 404 pages via the ASSETS binding. Update wrangler.jsonc to use worker.js as entrypoint. Remove the 404 status redirect from _redirects (unsupported by CF Workers and now handled by the worker script).
|
I can resolve the conflicts here, but is it ok to merge main into this branch? |
|
@matthewp Yes, no issue! We regularly merge main into it to handle conflicts early! |
Pick up wrangler-action v4.0.0 upgrade and other recent changes.
|
Preview deployment 🔄 Deployment in progress...
|
ArmandPhilippot
left a comment
There was a problem hiding this comment.
Thanks @matthewp! I was wondering why the Cloudflare preview URL didn't work and why Netlify was still working. I think I spotted the few differences with main (see my comments).
By the way, should we remove the Netlify app (I guess this is an app... I don't have access to all settings) now or are you waiting until we're sure everything is working correctly?
Co-authored-by: Armand Philippot <git@armand.philippot.eu>
- Add preview branch detection so PR builds use the correct *.previews.docs.astro.build site URL instead of v7.docs.astro.build - Remove leftover netlify:build script
Co-authored-by: Armand Philippot <git@armand.philippot.eu>
#14065) Co-authored-by: Matthew Phillips <matthewphillips@cloudflare.com> Co-authored-by: Armand Philippot <git@armand.philippot.eu>
The branch for your docs for all Astro v7.0 PRs!
Deploy preview: https://v7.docs.astro.build/en/guides/upgrade-to/v7/
Breaking changes (additions, removals, deprecations, stablizings...)
File to edit: v7 upgrade page:
src/content/docs/en/guides/upgrade-to/v7.mdxUse v6 upgrade guide as an example of format:
src/content/docs/en/guides/upgrade-to/v6.mdxMore guidance available in the Astro Docs Docs guide to breaking changes
TODO before merging this PR
public/_headersastro.config.tsto removev7.from the site confighttps://v6.docs.astro.build/betatag from the upgrade command (see fix(v7): remove Rust compiler page and usealphain upgrade command #13875)TODO after merging this PR
v6.docs.astro.buid/*URLs todocs.astro.build/*and archivev6docsv7.docs.astro.buid/*URLs todocs.astro.build/*to ensure existing links (e.g. blog posts) are still working and redirect to the up-to-date docs.nextbranch from the Nightly workflow (see fix(v7): updatenightly.ymlto pull config and errors changes #13876)Meta
Closes AST-173