зеркало из https://github.com/github/docs.git
Update frontmatter and intro info for the deployments API (#27338)
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
This commit is contained in:
Родитель
831a783192
Коммит
b5c883614e
|
@ -11,6 +11,8 @@ topics:
|
|||
miniTocMaxHeadingLevel: 3
|
||||
---
|
||||
|
||||
## About the deployments API
|
||||
|
||||
Deployments are requests to deploy a specific ref (branch, SHA, tag). GitHub dispatches a [`deployment` event](/developers/webhooks-and-events/webhook-events-and-payloads#deployment) that external services can listen for and act on when new deployments are created. Deployments enable developers and organizations to build loosely coupled tooling around deployments, without having to worry about the implementation details of delivering different types of applications (e.g., web, native).
|
||||
|
||||
Deployment statuses allow external services to mark deployments with an `error`, `failure`, `pending`, `in_progress`, `queued`, or `success` state that systems listening to [`deployment_status` events](/developers/webhooks-and-events/webhook-events-and-payloads#deployment_status) can consume.
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
---
|
||||
title: Environments
|
||||
intro: 'The Environments API allows you to create, configure, and delete environments.'
|
||||
title: Deployment environments
|
||||
allowTitleToDifferFromFilename: true
|
||||
shortTitle: Environments
|
||||
intro: 'The Deployment environments API allows you to create, configure, and delete deployment environments.'
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '>=3.2'
|
||||
|
@ -11,6 +13,8 @@ topics:
|
|||
miniTocMaxHeadingLevel: 3
|
||||
---
|
||||
|
||||
## About the Deployment environments API
|
||||
|
||||
For more information about environments, see "[Using environments for deployment](/actions/deployment/using-environments-for-deployment)." To manage environment secrets, see "[Secrets](/rest/reference/actions#secrets)."
|
||||
|
||||
{% data reusables.gated-features.environments %}
|
Загрузка…
Ссылка в новой задаче