# 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="/files/jkriV431hwPryJl4NLTu" 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="/pages/MaY0P68X2Hw9gmSFDqRQ" %}
[Figma No Code Plugin](/1.0/getting-stared/introduction/figma-no-code-plugin.md)
{% 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>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.uncodie.com/1.0/basic-concepts/publish-and-deploy.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
