Deployment flow
When you runjelou functions deploy, the platform:
- Reads
jelou.jsonto find the slug and entrypoint - Collects all deployable files from the directory
- Displays a summary with names and sizes
- Uploads the files and runs the deployment
- Renames your entrypoint to
user-function.ts - Generates a
main.tswrapper that imports your code and starts the server - Injects your secrets as environment variables
File limits
| Limit | Value |
|---|---|
| Files per deployment | 20 |
| Size per file | 256 KB |
| Total size | 1 MB |
| Allowed extensions | .ts, .js, .json, .md, .txt |
| Required entrypoint | index.ts |
What is automatically excluded
node_modules/.git/.envdist/.jelou/- Hidden files (starting with
.)
Skip confirmation
For automated deployments, use--no-confirm:
Rollback
If you need to revert to a previous version, usejelou functions rollback.
- Interactive
- Direct
Without arguments, it shows a menu with recent deployments:
CI/CD with GitHub Actions
- Basic deployment
- With secrets
deploy.yml
Exposed routes
- define() mode
- app() mode
| Route | Description |
|---|---|
/__health | Health check and function metadata |
/mcp | MCP endpoint (unless config.mcp: false) |
| Your route | Handler route (default: * matches any path) |