Skip to Content
Xeonr Developer Docs
Custom Renderers

Deployment

Build a renderer archive and publish it to an upl.im content type or bucket type.

Build the archive with the renderer Vite plugin. The CLI reads the archive's dashboard, portal and worker surfaces to determine which bindings to update.

pnpm exec vite build --mode production
upl --env prod renderers publish --zip renderer.zip --content-type-urn default:paste

Publish from Branchd

This flow requires UPL CLI 1.23.0 or later and a deployment with the renderer publisher enabled. An integration owner grants a Forge repository or group permission to publish to one content type. A protected CI run builds the archive, then exchanges its job identity for a short-lived token for that content type (CI workload tokens); any step of the granted repository's pipeline may publish.

The step gives the CLI the exchanged token in UPL_ACCESS_TOKEN for the publish command. Keep this variable scoped to the CLI invocation. The build and its dependencies only need to produce renderer.zip. Pass the target environment and exactly one content type. The CLI sends the exchanged token to upl.im when it creates the archive intent and binds the finished upload. The signed intent authorizes upload finalization, and storage accepts the archive at its presigned URL.

Publish with your own account

Sign in for the target environment with upl auth login --env prod. Use --content-type-urn to publish the same archive to several content types in the integration.

upl --env prod renderers publish --zip renderer.zip --content-type-urn default:code,default:text

To publish a bucket-type renderer, supply its integration and bucket type.

upl --env prod renderers publish --zip renderer.zip --integration default --bucket-type my-bucket

On this page