Skip to content

Commit 65c5e1c

Browse files
authored
Enable MAR Docs publishing with GitHub App (#6408)
1 parent ae5ae62 commit 65c5e1c

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

eng/common/templates/variables/dotnet/build-test-publish.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,14 @@ variables:
1515
value: public/,internal/private/,unlisted/
1616

1717
- name: mcrDocsRepoInfo.authArgs
18-
value: --gh-token '$(BotAccount-dotnet-docker-bot-PAT)'
18+
value: >-
19+
--gh-private-key '$(GitHubApp-NET-Docker-MAR-Docs-Updater-PrivateKey)'
20+
--gh-app-client-id '$(gitHubApp.marDocsUpdater.clientId)'
21+
--gh-app-installation-id '$(gitHubApp.marDocsUpdater.microsoft.installationId)'
1922
- name: mcrDocsRepoInfo.userName
20-
value: $(dotnetDockerBot.userName)
23+
value: $(gitHubApp.marDocsUpdater.userName)
2124
- name: mcrDocsRepoInfo.email
22-
value: $(dotnetDockerBot.email)
25+
value: $(gitHubApp.marDocsUpdater.email)
2326

2427
- name: publishNotificationsEnabled
2528
value: true

0 commit comments

Comments
 (0)