# Publish and Deploy

## Overview

The easiest way to deploy your app or site is by simply publishing a new version with the Uncodie CI system, if you wan to deploy it to your servers you will need to set up your server through SSH.

<figure><img src="https://616870859-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ1eJ3100gppGz1pXp1J7%2Fuploads%2FIMWdCylS0R7vnMBX9g2Y%2Fdeployment.png?alt=media&#x26;token=ada142d1-42c9-4760-b9fd-61bfd792cd28" alt=""><figcaption></figcaption></figure>

## Set up

1. You can publish a new version of your app by simply setting the initial parameters for your Figma file, see:

{% content-ref url="../getting-stared/introduction/figma-no-code-plugin" %}
[figma-no-code-plugin](https://docs.uncodie.com/1.0/getting-stared/introduction/figma-no-code-plugin)
{% endcontent-ref %}

2. In the IDE open the page with your app contents and click on the **Play** button
3. Wait for the confirmation email containing info on your app process.

## Branch Management

You can change the deployment target in your project's main settings in the Uncodie APP by selecting between:

* **Main**, your production environment
* **Dev**, your testing playground

1. Navigate to the Uncodie App
2. Select your project
3. Select your branch
4. Click on Save
5. Open the IDE in Figma
6. Navigate to the **Cloud** section
7. Click on **Update** settings
8. Your deployment settings will be updated

## Use Cases

### Publish a library for your designs to git

Generate a new git commit for your components and designs

### Publish a new version of your app

Deploy a new version to Uncodie Servers

### Deploy your app to your servers and infrastructure

You can deploy your app to your cloud by enabling an SSH connection to our CI system, for more see:

{% embed url="<https://docs.uncodie.com/1.0/v/documentation/advanced-settings/external-deployment>" %}
