S
SolidJS10mo ago
siduck

Solid-start site shows blank page when deployed with github-pages

This is the deploy.yml I used https://nitro.unjs.io/deploy/providers/github-pages repo https://github.com/eeek76/eeek76.github.io I tried a minimal solid-start example and the deployed site just shows 404 page.
GitHub Pages
Deploy Nitro apps to GitHub Pages.
GitHub
GitHub - eeek76/eeek76.github.io
Contribute to eeek76/eeek76.github.io development by creating an account on GitHub.
No description
No description
15 Replies
brenelz
brenelz10mo ago
Only thing I can think of is setting the server preset but you already did that
siduck
siduckOP10mo ago
or is it because of using github-actions? i tried deploy from branch one, but the deploy doesnt even override the gh-branch with build files
brenelz
brenelz10mo ago
If you pnpm build and pnpm start it works locally?
siduck
siduckOP10mo ago
obviously
siduck
siduckOP10mo ago
No description
Paul Armstrong
Paul Armstrong10mo ago
Can you change the github action to deploy to the gh-pages branch? That'd let you inspect what's actually being published. It looks like it's loading the 404 page, because your resources are actually there and loading, just not the html document you would expect
Paul Armstrong
Paul Armstrong10mo ago
No description
Paul Armstrong
Paul Armstrong10mo ago
But the contents of the page are probably somewhat correct…
No description
Paul Armstrong
Paul Armstrong10mo ago
No description
siduck
siduckOP10mo ago
but nitro recommends using github actions
siduck
siduckOP10mo ago
bigmistqke
bigmistqke10mo ago
DEV Community
Using Solid Start with GitHub pages
⚠ Warning: the information in this article is outdated. There is a new version of solid-start that...
siduck
siduckOP10mo ago
ah you're late, someone already linked this post to me and it works :solid:
siduck
siduckOP10mo ago
GitHub
GitHub - NvChad/nvchad.github.io: Site for NvChad built using solid...
Site for NvChad built using solidjs + unocss. Contribute to NvChad/nvchad.github.io development by creating an account on GitHub.
bigmistqke
bigmistqke10mo ago
Great! Happy it worked out!
Want results from more Discord servers?
Add your server