The official SvelteKit demo application, ready to be deployed via rsync/SSH to mittwald SpaceServer.
Status: 🚧 Work in progress / Broken 🚧
node_modules
? See TODOs below for optimizing this, adapter-node
needs these files. Alternative would be to use git pull
on the server and run npm i && npm run build
there. This is entirely a GitHub challenge, NOT a problem of Mittwald SpaceServer..github/workflows/rsync-deploy.yaml
SSH_USER
and SSH_KEY
(private) as Action Secret in settings# https://kit.svelte.dev/
npm create svelte@latest .
# Selected: SvelteKit demo app, JSDoc, eslint +
# https://kit.svelte.dev/docs/adapter-node
npm i -D @sveltejs/adapter-node
Switched adapter-auto
to adapter-node
in svelte.config.js
Modified routes/+layout.svelte
as suggested in https://github.com/sveltejs/kit/issues/9089
Added better detection for modified /newly deployed files (commit)
Created .github/workflows/rsync-deploy.yaml
ORIGIN=https://p-ni13ir.project.space node build
supported by Mittwald? https://kit.svelte.dev/docs/adapter-node#environment-variables-origin-protocol-header-and-host-header