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:
Sarah Edwards 2022-05-03 00:35:13 -07:00 коммит произвёл GitHub
Родитель 831a783192
Коммит b5c883614e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 8 добавлений и 2 удалений

Просмотреть файл

@ -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 %}