# 云部署历史和日志

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

🌐 Cloud deployment history and logs 

部署选项卡列出每个构建的状态，并允许深入检查构建和部署日志。

对于每个 Strapi Cloud 项目，你可以访问所有已发生部署的历史记录及其详细信息，包括构建和部署日志。此信息可在 *部署* 选项卡中查看。

🌐 For each Strapi Cloud project, you can access the history of all deployments that occurred and their details including build and deployment logs. This information is available in the *Deployments* tab.

## 查看部署历史记录 {#viewing-deploy-history}

🌐 Viewing the deployment history 

在*部署*选项卡中显示了按时间顺序排列的卡片列表，其中包含你项目的所有历史部署的详细信息。

🌐 In the *Deployments* tab is displayed a chronological list of cards with the details of all historical deployments for your project.

每张卡片显示以下信息：

🌐 Each card displays the following information:

- 提交 SHA 💡 提交 SHA（或哈希值）是你提交的唯一 ID，它指向在特定时间进行的特定更改。，带有指向你的 git 提供者的直接链接，以及提交信息
- 部署状态：
    - *部署*
    - *完成*
    - *已取消*
    - *构建失败*
    - *部署失败*
- 上次部署时间（部署触发时间及持续时间）
- 分支

## 访问部署详情和日志 {#accessing-deployment-details--logs}

🌐 Accessing deployment details & logs

在 *Deployments* 标签页中，你可以将鼠标悬停在部署卡片上，使 ![查看日志按钮](/img/assets/icons/Eye.svg) **显示详情** 按钮出现。点击此按钮将重定向到包含部署详细日志的 *Deployment details* 页面。

🌐 From the *Deployments* tab, you can hover a deployment card to make the ![See logs button](/img/assets/icons/Eye.svg) **Show details** button appear. Clicking on this button will redirect you to the *Deployment details* page which contains the deployment's detailed logs.

在页面的*构建日志*和*部署日志*部分，你可以点击箭头按钮 ![下箭头](/img/assets/icons/ONHOLDCarretDown.svg) ![上箭头](/img/assets/icons/ONHOLDCarretUp.svg) 来显示或隐藏部署的构建和部署日志。

🌐 In the *Build logs* and *Deployment logs* sections of the page you can click on the arrow buttons ![Down arrow](/img/assets/icons/ONHOLDCarretDown.svg) ![Up arrow](/img/assets/icons/ONHOLDCarretUp.svg) to show or hide the build and deployment logs of the deployment.

:::tip

点击 ![复制按钮](/img/assets/icons/duplicate.svg) **复制到剪贴板** 按钮以复制日志内容。

🌐 Click the ![Copy button](/img/assets/icons/duplicate.svg) **Copy to clipboard** button to copy the log contents.

:::

在*部署详情*页面的右侧，还显示以下信息：

🌐 In the right side of the *Deployment details* page is also displayed the following information:

- *提交*: 提交 SHA 💡 提交 SHA（或哈希）是你的提交的唯一ID，指向在特定时间进行的特定更改，并提供指向你的 git 提供者的直接链接，以及用于此部署的提交信息
- *状态*，可以是 *构建中*、*部署中*、*完成*、*已取消*、*构建失败* 或 *部署失败*
- *来源*: 此次部署的分支和提交信息
- *持续时间*：部署所花费的时间以及发生的时间
