# Publishing

When your preview results look just as required, it's time to create and publish a new version.

You can select to publish your environment to staging, production, or both. When publishing to live systems, a new “current edit” version will automatically be created for the next release cycle.

In the publish options, you can also add a commit message.

<div align="left"><figure><img src="/files/3V67evSKmze0nZfyZaax" alt=""><figcaption></figcaption></figure></div>


---

# 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.jentis.com/jentis-dcp-elements/versions-and-preview/publishing.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.
