diff --git a/content/actions/reference/environments.md b/content/actions/reference/environments.md index 08fe1b716d..ae90d67c78 100644 --- a/content/actions/reference/environments.md +++ b/content/actions/reference/environments.md @@ -76,8 +76,9 @@ For more information on syntax to reference environments in workflows, see "[Wor When a workflow references an environment, the environment will appear in the repository's deployments. For more information about viewing current and previous deployments, see "[Viewing deployment history](/developers/overview/viewing-deployment-history)." +{% ifversion fpt or ghae-next or ghes > 3.1 %} ## Using concurrency to serialize deployments in an environment -You can use concurrency so that an environment has a maximum of one deployment in progress and one deployment pending at a time. For more information, see "[Workflow syntax for GitHub Actions](/actions/reference/workflow-syntax-for-github-actions#concurrency)." +You can use concurrency so that an environment has a maximum of one deployment in progress and one deployment pending at a time. For more information, see "[Workflow syntax for GitHub Actions](/actions/reference/workflow-syntax-for-github-actions#concurrency)."{% endif %} ## Deleting an environment diff --git a/content/actions/reference/workflow-syntax-for-github-actions.md b/content/actions/reference/workflow-syntax-for-github-actions.md index 849e3c6ff5..32d8127625 100644 --- a/content/actions/reference/workflow-syntax-for-github-actions.md +++ b/content/actions/reference/workflow-syntax-for-github-actions.md @@ -247,7 +247,7 @@ defaults: working-directory: scripts ``` -{% ifversion fpt or ghes > 3.0 or ghae-next %} +{% ifversion fpt or ghae-next or ghes > 3.1 %} ## `concurrency` {% data reusables.actions.concurrency-beta %} @@ -440,7 +440,7 @@ environment: {% endif %} -{% ifversion fpt or ghes > 3.0 or ghae-next %} +{% ifversion fpt or ghae-next or ghes > 3.1 %} ## `jobs..concurrency` {% data reusables.actions.concurrency-beta %}