Deploying
How Hatch detects, builds, and deploys your application.
Runtime auto-detection
Hatch inspects your repository and automatically detects the runtime and framework. No configuration files required.
Node.js / TypeScriptDetected via
package.jsonPythonDetected via
requirements.txt, pyproject.toml, or PipfileGoDetected via
go.modRustDetected via
Cargo.tomlStaticDetected via
index.html at rootSupported frameworks
For Node.js projects, Hatch also detects and optimises for these frameworks:
- Nuxt 3
- Next.js
- SvelteKit
- Remix
- Astro
- Vite
- Express / Fastify
- Static HTML
Build process
When you git push hatch main, Hatch runs through these steps:
- 1Receive — Accepts your pushed code
- 2Detect — Identifies runtime, framework, and build command
- 3Install — Runs
npm install,pip install,go mod download, orcargo build - 4Build — Executes the framework build step
- 5Deploy — Ships the build output to EU-hosted infrastructure
Push to deploy
Create an app and add the Hatch git remote:
hatch create myapp
git remote add hatch <url-from-hatch-create>
git push hatch mainEvery subsequent git push hatch main triggers a new deploy automatically.
Preview deployments
Every deploy creates a unique preview URL in addition to your production URL. Preview URLs follow this pattern:
https://your-repo-abc123.hatch.shShare preview URLs with your team to review changes before merging to production.
