diff --git a/eng/common/pipelines/templates/steps/docs-metadata-release.yml b/eng/common/pipelines/templates/steps/docs-metadata-release.yml index 9d52723cd506..53070e2f9118 100644 --- a/eng/common/pipelines/templates/steps/docs-metadata-release.yml +++ b/eng/common/pipelines/templates/steps/docs-metadata-release.yml @@ -65,38 +65,3 @@ steps: TargetRepoOwner: ${{ parameters.TargetDocRepoOwner }} WorkingDirectory: ${{ parameters.WorkingDirectory }}/repo ScriptDirectory: ${{ parameters.WorkingDirectory }}/${{ parameters.ScriptDirectory }} - -- ${{if ne( parameters['OnboardingBranch'], '')}}: - - pwsh: | - Push-Location ${{ parameters.WorkingDirectory }}/repo - git reset --hard HEAD - git remote rm azure-sdk-fork - git checkout ${{ parameters.OnboardingBranch}} - displayName: Reset Docs Repo, Checkout Onboarding Branch - ignoreLASTEXITCODE: false - - - task: PowerShell@2 - displayName: 'Update Docs.MS CI Targeted Packages' - inputs: - targetType: filePath - filePath: ${{ parameters.ScriptDirectory }}/update-docs-ci.ps1 - arguments: > - -ArtifactLocation ${{ parameters.ArtifactLocation }} - -WorkDirectory "${{ parameters.WorkingDirectory }}" - -RepoId ${{ parameters.RepoId }} - -Repository ${{ parameters.PackageRepository }} - -ReleaseSHA ${{ parameters.ReleaseSha }} - -DocRepoLocation "${{ parameters.WorkingDirectory }}/repo" - -Configs "${{ parameters.CIConfigs }}" - pwsh: true - env: - GH_TOKEN: $(azuresdk-github-pat) - - template: /eng/common/pipelines/templates/steps/git-push-changes.yml - parameters: - BaseRepoBranch: ${{ parameters.OnboardingBranch}} - BaseRepoOwner: ${{ parameters.TargetDocRepoOwner }} - CommitMsg: "Update docs metadata and targeting for release of ${{ parameters.ArtifactName }}" - TargetRepoName: ${{ parameters.TargetDocRepoName }} - TargetRepoOwner: ${{ parameters.TargetDocRepoOwner }} - WorkingDirectory: ${{ parameters.WorkingDirectory }}/repo - ScriptDirectory: ${{ parameters.WorkingDirectory }}/${{ parameters.ScriptDirectory }}