Skip to Content
Orbyte Labs

Deploy a catalog

Publish orbyte.config.ts using a linked environment or CI API key.

Create orbyte.config.ts, then run from its directory:

npx orbytelabs deploy

The CLI validates the config and waits until the deployment is ready. With a user login, it also prints the linked application and environment. Each deployment is a complete snapshot; include every feature and plan that should remain available.

Select a config

Pass a project directory or a config file:

npx orbytelabs deploy ./apps/my-app
npx orbytelabs deploy ./path/to/orbyte.config.ts

Both deploy and dev use the environment for ORBYTE_API_KEY when set. Otherwise they use your CLI login and the environment saved in .orbyte/project.json beside the config. Run orbytelabs link there to choose the linked environment. In an interactive terminal, the CLI prompts you to link an unlinked directory.

Redeploy as you edit

npx orbytelabs dev

dev deploys on startup and again when orbyte.config.ts or any of its local imports changes. It accepts the same optional directory or config path as deploy. Restart dev after changing the key or project link to switch targets.

If a config or deployment fails, the CLI shows the error and waits for another edit. Press Ctrl+C to stop watching. A deployment already submitted may finish in the background.

Deploy from CI

Set ORBYTE_API_KEY as a protected CI secret, then run orbytelabs deploy. The standard API key preset includes the required deployments:write and deployments:read permissions.

A failed deployment exits with an error and its ID. Inspect that ID before retrying an uncertain request. Stopping the CLI does not cancel queued work.

See catalog and pricing for configuration examples.

On this page