# Deployments

See every publish of your project with its status, duration and security score, read its build log, redeploy or cancel it, and take the site offline.

Follow every publish of your site, fix a failed build and take the site offline. Each time you publish, Lyna creates a deployment. Open **Settings > Project > Deployments** to see them all.

The Deployments page with a list of deployments, their status, duration, security score and the actions menu.

## What you can do

- See every deployment with its status, who published it, when, and how long it took.
- Read the build log and search it.
- See the security score and findings of each deployment.
- Open a deployment's URL.
- Redeploy a build, or cancel one that is running.
- Unpublish your site.

## The list

Each row shows the deployment, its **Status** (**Ready**, **Building**, **Queued**, **Failed** or **Cancelled**), its **Duration**, its **Security** score and when it was deployed. The list shows eight deployments at a time: choose **Next** and **Previous** to move through them, and **Refresh deployments** to reload the list.

The actions menu of a row offers **Open URL**, **View deployment details**, **Redeploy** and, while it runs, **Cancel deployment**.

## Deployment details

**View deployment details** opens:

| Section                | What it shows                                                                                                                                      |
| ---------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Build Logs**         | The full output of the build. Use **Find in logs** to search it, **Copy build log** to share it, and **Jump to latest** to follow a running build. |
| **Deployment Summary** | **Type**, **Duration**, **Deployed At**, **Finished At**, **Build Script**, **Build Flags**, **Deployed By**, the **Commit** and the **Branch**.   |
| **Deployment URLs**    | The addresses the deployment serves, with **Copy URL** and **Open in new tab**.                                                                    |
| **Security Scan**      | The score out of 100 and the issues by severity (**Critical**, **High**, **Medium**, **Low**).                                                     |

The Deployment Details panel with the build logs and summary folded, the deployment URL with its copy and open buttons, and the security scan score with its issues by severity.

## Redeploy or cancel

| Action                | What it does                                                                                                                                     |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Redeploy**          | Starts a new deployment with the same build configuration. Confirm with **Start redeploy**. The live site stays up until the new build succeeds. |
| **Cancel deployment** | Stops a running build right away, after you confirm. You can redeploy later from the history.                                                    |

## Unpublish

At the bottom of the page, the **Danger Zone** lists your Lyna address and, if you have one, your custom domain. Choose **Unpublish** next to an address and confirm. The site stops answering there right away, and visitors see a not-found page. Your project and its history stay as they are. Publish again to bring it back.

## When a build fails

Open the failed deployment, read the end of the build log, then copy it into the chat and ask the AI to fix the error. Publish again when the fix is in.

## Related

- [Publishing](/features/publish/publishing): Publish and update your site.
- [Security scan](/features/test-and-debug/security-scan): What the security score checks.
- [Version history](/features/projects/version-history): Go back to an earlier version of your project.
