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
The deploy doesn’t generate any runtime token — the function is protected by default and only accepts calls authenticated with a platform API key. Create one in the app configuration section (apps.jelou.ai) and send it as
Authorization: Bearer <key>. See the authentication guide for details.File limits
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