Skip to content

Commit 0d1ac5f

Browse files
authored
Fix the path (Azure#27940)
1 parent 2a3129e commit 0d1ac5f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eng/pipelines/docindex.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ jobs:
4343
filePath: eng/common/scripts/Update-DocsMsToc.ps1
4444
arguments: >-
4545
-DocRepoLocation $(DocRepoLocation)
46-
-OutputLocation $(DailyDocRepoLocation)/docs-ref-mapping/reference-unified.yml
46+
-OutputLocation $(DocRepoLocation)/docs-ref-mapping/reference-unified.yml
4747
displayName: Generate ToC for main branch
48+
condition: and(succeeded(), or(eq(variables['Build.Reason'], 'Schedule'), eq(variables['Force.MainUpdate'], 'true')))
4849
# Push changes to docs repo
4950
- template: /eng/common/pipelines/templates/steps/set-default-branch.yml
5051
parameters:

0 commit comments

Comments
 (0)