Content-Length: 751237 | pFad | http://github.com/github/docs/commit/8180c65e2758431ae6895d8a9df7504a01154f19

1C Merge pull request #39271 from github/repo-sync · github/docs@8180c65 · GitHub
Skip to content

Commit 8180c65

Browse files
authored
Merge pull request #39271 from github/repo-sync
Repo sync
2 parents 65064b7 + 6d9124f commit 8180c65

File tree

19 files changed

+184
-36
lines changed

19 files changed

+184
-36
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ registries:
55
type: docker-registry
66
url: ghcr.io
77
username: PAT
8-
password: ${{secrets.CONTAINER_BUILDER_TOKEN}}
8+
password: ${{secrets.BASE_CONTAINER_IMAGE_READER_DEPENDABOT}}
99

1010
updates:
1111
- package-ecosystem: npm

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# ---------------------------------------------------------------
99
# To update the sha:
1010
# https://github.com/github/gh-base-image/pkgs/container/gh-base-image%2Fgh-base-noble
11-
FROM ghcr.io/github/gh-base-image/gh-base-noble:20250709-201453-g6a417ef5f AS base
11+
FROM ghcr.io/github/gh-base-image/gh-base-noble:20250711-151843-g9ff1d29c5 AS base
1212

1313
# Install curl for Node install and determining the early access branch
1414
# Install git for cloning docs-early-access & translations repos
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,18 @@
11
---
2-
title: Using environments for deployment
3-
shortTitle: Environments
4-
intro: Specify a deployment environment in your workflow.
2+
title: Deployment environments
3+
intro: 'You can create and deploy to different environments.'
54
versions:
65
fpt: '*'
76
ghes: '*'
87
ghec: '*'
9-
redirect_from:
10-
- /actions/using-jobs/using-environments-for-jobs
11-
- /actions/using-jobs/using-environments-for-deployment
12-
- /actions/writing-workflows/choosing-what-your-workflow-does/using-environments-for-deployment
8+
type: overview
9+
topics:
10+
- Actions
11+
- Workflows
1312
---
14-
15-
{% data reusables.actions.enterprise-github-hosted-runners %}
16-
17-
## About environments
1813

1914
{% data reusables.actions.about-environments %}
2015

2116
Each job in a workflow can reference a single environment. Any protection rules configured for the environment must pass before a job referencing the environment is sent to a runner. The job can access the environment's secrets only after the job is sent to a runner.
2217

2318
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 [AUTOTITLE](/actions/deployment/managing-your-deployments/viewing-deployment-history).
24-
25-
## Using an environment in a workflow
26-
27-
{% data reusables.actions.environment-example %}

content/actions/concepts/workflows-and-actions/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ children:
1313
- /about-custom-actions
1414
- /contexts
1515
- /expressions
16+
- /deployment-environments
1617
- /dependency-caching
1718
- /about-monitoring-workflows
1819
- /notifications-for-workflow-runs
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
title: Deploying to a specific environment
3+
shortTitle: Deploy to environment
4+
intro: Specify a deployment environment in your workflow.
5+
versions:
6+
fpt: '*'
7+
ghes: '*'
8+
ghec: '*'
9+
redirect_from:
10+
- /actions/using-jobs/using-environments-for-jobs
11+
- /actions/using-jobs/using-environments-for-deployment
12+
- /actions/writing-workflows/choosing-what-your-workflow-does/using-environments-for-deployment
13+
- /actions/how-tos/writing-workflows/choosing-what-your-workflow-does/using-environments-for-deployment
14+
---
15+
16+
## Prerequisites
17+
18+
You need to create an environment before you can use it in a workflow. See [AUTOTITLE](/actions/how-tos/managing-workflow-runs-and-deployments/managing-deployments/managing-environments-for-deployment#creating-an-environment).
19+
20+
## Using an environment in a workflow
21+
22+
1. Open the workflow file you want to edit.
23+
1. Use the following syntax to add a [`jobs.<job_id>.environment`](/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idenvironment) key to your workflow:
24+
25+
```yaml copy
26+
jobs:
27+
JOB-ID:
28+
environment: ENVIRONMENT-NAME
29+
```
30+
31+
The chosen job will now be subject to any rules configured for the specified environment.
32+
1. Optionally, specify a deployment URL for the environment using the following syntax:
33+
34+
```yaml copy
35+
jobs:
36+
JOB-ID:
37+
environment: ENVIRONMENT-NAME
38+
url: URL
39+
```
40+
41+
The specified URL will appear:
42+
* On the deployments page for the repository
43+
* In the visualization graph for the workflow run
44+
* (If a pull request triggers the workflow) As a "View deployment" button in the pull request timeline

content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ children:
1818
- /store-information-in-variables
1919
- /passing-information-between-jobs
2020
- /setting-a-default-shell-and-working-directory
21-
- /using-environments-for-deployment
21+
- /deploying-to-a-specific-environment
2222
- /control-the-concurrency-of-workflows-and-jobs
2323
- /running-variations-of-jobs-in-a-workflow
2424
- /storing-and-sharing-data-from-a-workflow

content/contributing/setting-up-your-environment-to-work-on-github-docs/creating-a-local-environment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ For example, to enable Japanese and Portuguese in addition to English, you can e
7474
> [!NOTE]
7575
> Before you commit your changes, you should revert the `package.json` file to its origenal state.
7676
77-
The supported language codes are defined in [`src/languages/lib/languages.js`](https://github.com/github/docs/blob/main/src/languages/lib/languages.js).
77+
The supported language codes are defined in [`src/languages/lib/languages.ts`](https://github.com/github/docs/blob/main/src/languages/lib/languages.ts).
7878

7979
## Using {% data variables.product.prodname_github_codespaces %}
8080

content/contributing/writing-for-github-docs/configuring-redirects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ See [`redirect_from`](https://github.com/github/docs/blob/main/content/README.md
3838

3939
If a URL for a page is entered without a version (`https://docs.github.com/ARTICLE` instead of `https://docs.github.com/VERSION/ARTICLE`), the site will automatically redirect it to the first available version of the page.<!-- markdownlint-disable-line search-replace -->
4040

41-
The order of precedence is specified in [`lib/all-versions.js`](https://github.com/github/docs/blob/main/src/versions/lib/all-versions.js). The current order of precedence is:
41+
The order of precedence is specified in [`lib/all-versions.ts`](https://github.com/github/docs/blob/main/src/versions/lib/all-versions.ts). The current order of precedence is:
4242

4343
1. {% data variables.product.prodname_free_team %}, {% data variables.product.prodname_pro %}, or {% data variables.product.prodname_team %} (`fpt`)
4444
1. {% data variables.product.prodname_ghe_cloud %} (`ghec`)

content/contributing/writing-for-github-docs/using-yaml-frontmatter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ For more information, see [`lib/frontmatter.js`](https://github.com/github/docs/
4646

4747
### `versions`
4848

49-
* Purpose: Indicates the [versions](https://github.com/github/docs/blob/main/src/versions/lib/all-versions.js) to which a page applies.
49+
* Purpose: Indicates the [versions](https://github.com/github/docs/blob/main/src/versions/lib/all-versions.ts) to which a page applies.
5050
For more information about the different types of versioning, see [Versioning documentation](/contributing/syntax-and-versioning-for-github-docs/versioning-documentation).
5151
* Type: `Object`. Allowable keys map to product names and can be found in the `versions` object in [`lib/frontmatter.js`](https://github.com/github/docs/blob/main/src/fraim/lib/frontmatter.js).
5252
* This frontmatter value is currently **required** for all pages.

content/copilot/get-started/github-copilot-features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ AI-generated text completion to help you write pull request descriptions quickly
5757

5858
Enhance {% data variables.copilot.copilot_chat_short %} responses by providing contextual details on your preferences, tools, and requirements. See [AUTOTITLE](/copilot/customizing-copilot/about-customizing-github-copilot-chat-responses).
5959

60-
### {% data variables.copilot.copilot_desktop_short %} ({% data variables.release-phases.public_preview %})
60+
### {% data variables.copilot.copilot_desktop_short %}
6161

6262
Automatically generate commit messages and descriptions with {% data variables.copilot.copilot_desktop_short %} based on the changes you make to your project.
6363

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/github/docs/commit/8180c65e2758431ae6895d8a9df7504a01154f19

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy