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