Skip to content

Commit

Permalink
Update environment-example.md (#53684)
Browse files Browse the repository at this point in the history
Co-authored-by: Sophie <[email protected]>
  • Loading branch information
Pantelis-Santorinios and sophietheking authored Dec 20, 2024
1 parent aa827c7 commit 93c8546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/reusables/actions/environment-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

When the above workflow runs, the `deployment` job will be subject to any rules configured for the `production` environment. For example, if the environment requires reviewers, the job will pause until one of the reviewers approves the job.

You can also specify a URL for the environment. The specified URL will appear on the deployments page for the repository (accessed by clicking **Environments** on the home page of your repository) and in the visualization graph for the workflow run. If a pull request triggered the workflow, the URL is also displayed as a **View deployment** button in the pull request timeline.
You can also specify a URL for the environment. The specified URL will appear on the deployments page for the repository (accessed by clicking **Environments** on the home page of your repository) and in the visualization graph for the workflow run. If a pull request triggered the workflow, the URL is also displayed as a **View deployment** button in the pull request timeline. When using the "Require deployments to succeed before merging" rule, only the `name` specified is being checked even if a URL has also been specified. See [AUTOTITLE](/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/about-protected-branches#require-deployments-to-succeed-before-merging).

```yaml
name: Deployment
Expand Down

0 comments on commit 93c8546

Please sign in to comment.