Custom Renderers
Deployment
Build and deploy renderer archives to upl.im.
When you build with UPLIM_RENDERER_DEPLOY_ENABLED=1, the Vite plugin will:
- Build your application
- Validate
config.jsonand entrypoints - Package the output into a
.ziparchive - Upload the archive to upl.im
- Update your integration's renderer configuration
Manual deploy
UPLIM_RENDERER_DEPLOY_ENABLED=1 \
UPLIM_ENV=production \
UPLIM_CLIENT_ID=your_client_id \
UPLIM_INTEGRATION_ID=your_integration_id \
UPLIM_ACCESS_TOKEN=your_access_token \
UPLIM_BUCKET_TYPE_SLUG=your_bucket_type \
pnpm exec vite build --mode productionEnvironment variables
| Variable | Description |
|---|---|
UPLIM_RENDERER_DEPLOY_ENABLED | Set to 1 or true to enable deployment |
UPLIM_ENV | production, dev, or local |
UPLIM_CLIENT_ID | Your OAuth client ID |
UPLIM_INTEGRATION_ID | Your integration ID |
UPLIM_ACCESS_TOKEN | OAuth bearer token for API access |
UPLIM_BUCKET_TYPE_SLUG | Target bucket type slug (for bucket-type renderers) |
UPLIM_CONTENT_TYPE_ID | Target content type ID (for content-type renderers) |
You must provide exactly one of UPLIM_BUCKET_TYPE_SLUG or UPLIM_CONTENT_TYPE_ID.