---
title: Publishing
description: Publish a studio to your cloud workspace and share it with a link, for members only or for anyone with the link.
---

Editors and owners, from a [linked studio](/docs/cloud-workspaces#link-your-studio):

```sh
npx dex cloud publish
```

It runs `check`, builds for `/s/<workspace>/`, uploads and prints the link:

```text
Published 214 files.
Share: https://cloud.dexhq.dev/s/<workspace>/
```

The new version swaps in at once. To track main, run it in CI with `STUDIO_CLOUD_TOKEN`.

## Access

Owners choose in **Workspace settings**, **Publishing**: **Members only** (default, viewers included) or **Anyone with the link**.

## What people can do

Browse files and canvases, play and share sections (`/s/<workspace>/files/<slug>/play/<section>`), and read the comments, as they were when it was published: pins on the canvas, and the bell beside the workspace's name. It is read-only: comment in a running studio.

The comments are the workspace's, read with your sign-in or `STUDIO_CLOUD_TOKEN`. They're in by default. To publish without them, such as for **Anyone with the link**, set `build: { comments: false }` in `dex.config.ts` (see [Configuration](/docs/configuration)).

Members find **Workspace settings** in its sidebar; anyone else sees the studio alone.
