# 持續部署 (CD)

> For AI agents: the complete glossary index is at [llms.txt](https://glossary.cncf.io/zh-tw/llms.txt).
> Markdown versions of every glossary page are available by appending `index.md` to the page URL.

<a id="what-it-is"></a>

## 是什麼

持續部署，通常縮寫為 CD，它直接將完成的軟體部署到正式環境，比[持續交付](https://glossary.cncf.io/zh-tw/continuous-delivery/)更進一步。
持續部署（CD）與[持續整合](https://glossary.cncf.io/zh-tw/continuous-integration/)（CI）緊密相關，通常被稱為 CI/CD。
CI 流程用於測試對特定應用程式的變更是否正確，而 CD 流程則自動部署組織測試環境的程式碼變更到正式環境。

<a id="problem-it-addresses"></a>

## 解決的問題

發布新軟體版本是一個勞動密集且容易出錯的過程。
通常這也使組織希望盡量減少發布新版本的頻率，以避免正式環境發生事故並減少工程師需要在正常工作時間之外提供支援的次數。
傳統的軟體部署模型讓組織陷入一個惡性循環，其中軟體發布的過程無法滿足組織在穩定性和功能迭代速度方面的需求。

<a id="how-it-helps"></a>

## 如何幫助我們

透過自動化發布週期並強制組織更頻繁地將產品部署到正式環境中，CD 之於維運團隊就像 CI 之於開發團隊一樣。
具體來說，它強制維運團隊自動化正式部署中痛苦且容易出錯的部分，從而降低整體風險。
它還使組織更善於接受和適應正式環境的變化，進而提高穩定性。

<a id="related-terms"></a>

## 相關術語

- [持續整合](https://glossary.cncf.io/zh-tw/continuous-integration/)
- [持續交付](https://glossary.cncf.io/zh-tw/continuous-delivery/)

---

- Canonical URL: https://glossary.cncf.io/zh-tw/continuous-deployment/
- Status: Completed
- 最後編輯 October 11, 2023: ` Update continuous-deployment.md ` ([41ae7d3](https://github.com/cncf/glossary/commit/41ae7d33e748d1ee2495ad50079a83da081690af))
- Source: https://github.com/cncf/glossary/blob/main/content/zh-tw/continuous-deployment.md
- License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
