Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Switch from AzurePowerShell to AzureCLI task
  • Loading branch information
weshaggard authored and azure-sdk committed Jan 20, 2025
commit 375bd17acca2610711f0456cb7e1e7ff2a8a3214
20 changes: 9 additions & 11 deletions eng/common/pipelines/templates/jobs/docindex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,18 @@ jobs:
workingDirectory: $(Build.BinariesDirectory)
displayName: Download and Extract DocFX

- task: AzurePowerShell@5
- task: AzureCLI@2
displayName: 'Generate Doc Index'
inputs:
azureSubscription: 'Azure SDK Artifacts'
azurePowerShellVersion: latestVersion
pwsh: true
ScriptType: 'FilePath'
ScriptPath: $(Build.SourcesDirectory)/eng/common/docgeneration/Generate-DocIndex.ps1
ScriptArguments: >
-Docfx $(docfxPath)
-RepoRoot $(Build.SourcesDirectory)
-DocGenDir "$(Build.SourcesDirectory)/eng/common/docgeneration"
-DocOutDir "$(Build.ArtifactStagingDirectory)/docfx_project"
-verbose
scriptType: pscore
inlineScript: >
$(Build.SourcesDirectory)/eng/common/docgeneration/Generate-DocIndex.ps1
-Docfx $(docfxPath)
-RepoRoot $(Build.SourcesDirectory)
-DocGenDir "$(Build.SourcesDirectory)/eng/common/docgeneration"
-DocOutDir "$(Build.ArtifactStagingDirectory)/docfx_project"
-verbose

- template: /eng/common/pipelines/templates/steps/mashup-doc-index.yml
parameters:
Expand Down