> ## Documentation Index
> Fetch the complete documentation index at: https://www.voiceflow.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Publishing

> Preview your changes before publishing, see every version, and roll back when you need to.

![Publish](https://mintcdn.com/voiceflow-009a8802/NHpRp09zo70gXfwC/images/Publish.png?fit=max\&auto=format\&n=NHpRp09zo70gXfwC\&q=85\&s=f458d64a5bfde1396e5d0b99bbcacdc9)

Each [environment](/docs/documentation/deploy/environments/overview.md) has a draft version that auto-saves as you edit. Publishing promotes the draft to the live version. Every publish and restore is recorded in version history, giving you a clear record of changes over time.

## Publishing a new version

Click **Publish** in the top right corner while editing your project to open the diff view:

![Publish Diff](https://mintcdn.com/voiceflow-009a8802/NHpRp09zo70gXfwC/images/Publish-Diff.png?fit=max\&auto=format\&n=NHpRp09zo70gXfwC\&q=85\&s=5a21f255ccbc254bf3c22dfa4deb93dc)

The publish view shows a side-by-side diff view of the current live version and your draft version. Give the new version a name (a version number is filled in for you), add a description of what changed, and click **Publish**. The new version replaces whatever was previously live and happens near instantly.

If the environment is protected, only workspace admins and owners can publish it. See [environment protection](/docs/documentation/deploy/environments/overview.md#environment-protection).

> [!TIP]
>
> **Tip:** we recommend that you always add a version description. Without one, it's hard to track what changed across versions if you ever need to revert a change.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.