1 - Created new project from GitHub (README.md, LICENSE only)
2 - Initialize New Codespace from GitHub.com
3 - Create a SvelteKit project with vite in GitHub Codespaces
npm init vite
1: cd site-vite-project
2: npm install (or pnpm install, etc)
3: git init && git add -A && git commit -m "Initial commit" (optional)
4: npm run dev -- --open
https://www.okupter.com/blog/deploy-sveltekit-website-to-github-pages
pnpm add -D @sveltejs/adapter-static
In the GitHub repo go to Settings/Pages at Source select GitHub Actions and click create your own
see the file .github\workflows\deploy-to-gh-pages