Deploy a SvelteKit app
With Drone (recommended)
Section titled “With Drone (recommended)”Push your code to GitHub, start a new app, pick the repository and click Deploy with Drone. Drone handles SvelteKit apps that use adapter-auto. Or run hivepod deploy in the project folder.
With the SvelteKit preset
Section titled “With the SvelteKit preset”Pick SvelteKit. Use @sveltejs/adapter-node for a server-rendered app:
import adapter from '@sveltejs/adapter-node';
export default { kit: { adapter: adapter() },};npm install -D @sveltejs/adapter-nodeApps that use adapter-static are served as static files.
- Set
ORIGINto your public address (for examplehttps://wonder-web-8ml2.dockhive.app) so form actions pass SvelteKit’s CSRF check. - Private variables (
$env/dynamic/private) come from your app’s settings at runtime.