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
brenelz2y ago
Only thing I can think of is setting the server preset but you already did that
siduck
siduckOP2y 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
brenelz2y ago
If you pnpm build and pnpm start it works locally?
siduck
siduckOP2y ago
obviously
siduck
siduckOP2y ago
No description
Paul Armstrong
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
But the contents of the page are probably somewhat correct…
No description
siduck
siduckOP2y ago
but nitro recommends using github actions
bigmistqke
bigmistqke2y 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
siduckOP2y ago
ah you're late, someone already linked this post to me and it works :solid:
siduck
siduckOP2y 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
bigmistqke2y ago
Great! Happy it worked out!

Did you find this page helpful?