Skip to content

Commit 7e5a61f

Browse files
bradymholtDmarch28
authored andcommitted
Clarify inactive status made to same environment name (github#2430)
1 parent 09c6b2c commit 7e5a61f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/rest/reference/repos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Note that the `repo_deployment` [OAuth scope](/developers/apps/scopes-for-oauth-
144144

145145
### Inactive deployments
146146

147-
When you set the state of a deployment to `success`, then all prior non-transient, non-production environment deployments in the same repository will become `inactive`. To avoid this, you can set `auto_inactive` to `false` when creating the deployment status.
147+
When you set the state of a deployment to `success`, then all prior non-transient, non-production environment deployments in the same repository to the same environment name will become `inactive`. To avoid this, you can set `auto_inactive` to `false` when creating the deployment status.
148148

149149
You can communicate that a transient environment no longer exists by setting its `state` to `inactive`. Setting the `state` to `inactive` shows the deployment as `destroyed` in {% data variables.product.prodname_dotcom %} and removes access to it.
150150

0 commit comments

Comments
 (0)