Skip to content

Try working around Nitro/Netlify shenanigans #76

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

Closed
wants to merge 7 commits into from

Conversation

rijkvanzanten
Copy link
Member

Apparently Nitro has some magic preset that messes up the config and makes it behave differently than local when it runs on Netlify. The Netlify preset apparently has a known limitation when used with baseURL (see nitrojs/nitro#1484).

I'll have to trial and error through this, and didn't want to spam the main branch anymore than I already have

Copy link

netlify bot commented Dec 21, 2024

Deploy Preview for directus-docs-v2 ready!

Name Link
🔨 Latest commit
🔍 Latest deploy log https://app.netlify.com/sites/directus-docs-v2/deploys/676612ec44e08b95b2228289
😎 Deploy Preview https://deploy-preview-76--directus-docs-v2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@rijkvanzanten
Copy link
Member Author

Conclusion: It does not work. nitrojs/nitro#1484 wrecks the ability to have the docs auto-deploy to netlify on commits to main, as the Netlify runner isn't able to build the website due to some Nitro magic

@rijkvanzanten rijkvanzanten deleted the netlify-nightmare branch December 21, 2024 01:21
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