Xeonr Developer Docs
Custom Renderers

Deployment

Build and deploy renderer archives to upl.im.

When you build with UPLIM_RENDERER_DEPLOY_ENABLED=1, the Vite plugin will:

  1. Build your application
  2. Validate config.json and entrypoints
  3. Package the output into a .zip archive
  4. Upload the archive to upl.im
  5. 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 production

Environment variables

VariableDescription
UPLIM_RENDERER_DEPLOY_ENABLEDSet to 1 or true to enable deployment
UPLIM_ENVproduction, dev, or local
UPLIM_CLIENT_IDYour OAuth client ID
UPLIM_INTEGRATION_IDYour integration ID
UPLIM_ACCESS_TOKENOAuth bearer token for API access
UPLIM_BUCKET_TYPE_SLUGTarget bucket type slug (for bucket-type renderers)
UPLIM_CONTENT_TYPE_IDTarget content type ID (for content-type renderers)

You must provide exactly one of UPLIM_BUCKET_TYPE_SLUG or UPLIM_CONTENT_TYPE_ID.

On this page