Deploy Apps

App components can be deployed by configuring a deployer. The example below demonstrates adding the Netlify deployer to a React application component:

// my-app.bit-app.ts
import type { ViteReact } from '@bitdev/react.app-types.vite-react';
import { Netlify } from '@teambit/cloud-providers.deployers.netlify';

export const MyApp = ViteReact.from({
  name: 'my-app',
  deploy: Netlify.deploy(),
});

export default MyApp;
CopiedCopy

You can learn more on deploying applications in the reference docs.

Official deployers

You can deploy your app using one of our official deployers:

For other deployers, or to for creating your own head to Building app deployers.

Effortless deployments with Ripple CI

After configuring a deployer for your app, use bit tag and let Ripple CI handle your production or staging deployments. Create a lane to preview changes in a dedicated staging environment.

Staging deployments

You can deploy staging environments using our official deployers upon the making of a change request. To deploy a staging environment configure the desired deployer and export a lane:

Head to the change requests docs section to learn more on creating lanes and change requests.

Learn more