Minimal SvelteKit project demonstrating automatic deployment to GitHub Pages using GitHub Actions.
GitHub Pages only allows for static sites, so the site is built with @sveltejs/adapter-static.
Note that the root +layout.ts
uses export const prerender = true
to let the adapter know that all of the pages are prerenderable.