Skip to content

Commit 511b53c

Browse files
azure-sdkscbedd
andauthored
docindex default job now uses github app (#48968)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
1 parent c195108 commit 511b53c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

eng/common/pipelines/templates/jobs/docindex.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
workingDirectory: $(Build.BinariesDirectory)
1717
displayName: Download and Extract DocFX
1818
19+
- template: /eng/common/pipelines/templates/steps/login-to-github.yml
20+
1921
- task: AzureCLI@2
2022
displayName: 'Generate Doc Index'
2123
inputs:
@@ -66,5 +68,5 @@ jobs:
6668
arguments: >
6769
-PRBranchName "gh-pages"
6870
-CommitMsg "Auto-generated docs from SHA(s) $(Build.SourceVersion)"
69-
-GitUrl "https://$(azuresdk-github-pat)@github.com/$(Build.Repository.Name).git"
71+
-GitUrl "https://x-access-token:$(GH_TOKEN)@github.com/$(Build.Repository.Name).git"
7072
-PushArgs "--force"

0 commit comments

Comments
 (0)