Skip to content

Commit fd1fe1e

Browse files
authored
Merge pull request github#34995 from github/repo-sync
Repo sync
2 parents f20400b + 8e83038 commit fd1fe1e

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

.github/workflows/azure-prod-build-deploy.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ jobs:
6666
- name: 'Create Azure Container Registry Token'
6767
env:
6868
CONTAINER_REGISTRY_SERVER: ${{ secrets.PROD_REGISTRY_SERVER }}
69-
CONTAINER_REPO: ${{ github.repository }}
7069
run: npm run create-acr-token
7170

7271
- name: 'Docker login'
@@ -119,7 +118,7 @@ jobs:
119118
120119
- name: 'Apply updated docker-compose.prod.yaml config to canary slot'
121120
run: |
122-
az webapp config container set --multicontainer-config-type COMPOSE --multicontainer-config-file docker-compose.prod.yaml --slot ${{ env.SLOT_NAME }} -n ${{ env.APP_SERVICE_NAME }} -g ${{ env.RESOURCE_GROUP_NAME }} --container-registry-url ${{ secrets.PROD_REGISTRY_SERVER }} --container-registry-user ${{ env.ACR_TOKEN_NAME }} --container-registry-password ${{ env.ACR_TOKEN_VALUE }}
121+
az webapp config container set --multicontainer-config-type COMPOSE --multicontainer-config-file docker-compose.prod.yaml --slot ${{ env.SLOT_NAME }} -n ${{ env.APP_SERVICE_NAME }} -g ${{ env.RESOURCE_GROUP_NAME }}
123122
124123
# Watch canary slot instances to see when all the instances are ready
125124
- name: Check that canary slot is ready

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"content-changes-table-comment": "tsx src/workflows/content-changes-table-comment.ts",
2929
"copy-fixture-data": "node src/tests/scripts/copy-fixture-data.js",
3030
"count-translation-corruptions": "tsx src/languages/scripts/count-translation-corruptions.ts",
31-
"create-acr-token": "tsx src/workflows/acr-create-token.ts",
31+
"create-acr-token": "tsx src/workflows/acr-create-token.js",
3232
"debug": "cross-env NODE_ENV=development ENABLED_LANGUAGES=en nodemon --inspect src/frame/server.ts",
3333
"delete-orphan-translation-files": "tsx src/workflows/delete-orphan-translation-files.ts",
3434
"deleted-features-pr-comment": "tsx src/data-directory/scripts/deleted-features-pr-comment.ts",

src/rest/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,4 @@ Writers can also add an introduction paragraph _above_ the following Markdown co
7777
Slack: `#docs-engineering`
7878
Repo: `github/docs-engineering`
7979

80-
If you have a question about the REST pipeline, you can ask in the `#docs-engineering` Slack channel. If you notice a problem with the REST pipeline, you can open an issue in the `github/docs-engineering` repository. 🚀
80+
If you have a question about the REST pipeline, you can ask in the `#docs-engineering` Slack channel. If you notice a problem with the REST pipeline, you can open an issue in the `github/docs-engineering` repository.

src/workflows/acr-create-token.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dotenv.config()
1010

1111
const acrTokenName = process.env.ACR_TOKEN_NAME
1212
const acrServer = process.env.CONTAINER_REGISTRY_SERVER
13-
const repo = process.env.CONTAINER_REPO
13+
const repo = process.env.GITHUB_REPOSITORY
1414

1515
function main() {
1616
// Get the current time and add 30 minutes to it

0 commit comments

Comments
 (0)