# 云部署管理

> Source: https://strapi.nodejs.cn/cloud/projects/deploys

🌐 Cloud deployments management

部署触发器可以是手动的，也可以在 git 推送时自动触发，并且能够从仪表板或命令行接口取消正在进行的构建。

创建一个新的 Strapi Cloud 项目会自动触发该项目的部署。之后，部署可以是：

🌐 The creation of a new Strapi Cloud project automatically trigger the deployment of that project. After that, deployments can be:

- 在需要时手动触发，[从云仪表板](#triggering-a-new-deployment)或[从命令行接口](/cloud/cli/cloud-cli#strapi-deploy)，
- 或者每次向分支推送新提交时自动触发，如果 Strapi Cloud 项目已连接到 git 仓库并且启用了“推送时部署”选项（参见 [项目设置](/cloud/projects/settings#modifying-git-repository--branch)）。

如果需要，正在进行的部署也可以[手动取消](#cancelling-a-deployment)。

🌐 Ongoing deployments can also be [manually canceled](#cancelling-a-deployment) if needed.

## 触发新的部署 {#triggering-a-new-deployment}

🌐 Triggering a new deployment

要手动触发项目的新部署，请点击项目仪表板标题右上角始终显示的**触发部署**按钮。此操作将在*部署*标签中添加一个新卡片，你可以在其中监控状态并实时查看部署日志（参见[部署历史和日志](/cloud/projects/deploys-history)）。

🌐 To manually trigger a new deployment for your project, click on the **Trigger deployment** button always displayed in the right corner of a project dashboard's header. This action will add a new card in the *Deployments* tab, where you can monitor the status and view the deployment logs live (see [Deploy history and logs](/cloud/projects/deploys-history)).

## 取消部署 {#cancelling-a-deployment}

🌐 Cancelling a deployment

如果出于任何原因你想取消正在进行且未完成的部署：

🌐 If for any reason you want to cancel an ongoing and unfinished deployment:

1. 转到最新触发的部署的*部署详细信息*页面（参见[访问日志详情](/cloud/projects/deploys-history#accessing-deployment-details--logs)）。
2. 点击右上角的 **取消部署** 按钮。部署的状态将自动更改为 *已取消*。

:::tip

你也可以从列出部署历史的 *Deployments* 标签中取消部署。处于 *Building* 状态的正在进行的部署卡片将显示一个 ![取消按钮](/img/assets/icons/clear.svg) 按钮，用于取消部署。

🌐 You can also cancel a deployment from the *Deployments* tab which lists the deployments history. The card of ongoing deployment with the *Building* status will display a ![Cancel button](/img/assets/icons/clear.svg) button for cancelling the deployment.

:::
