@@ -65,38 +65,3 @@ steps:
6565 TargetRepoOwner : ${{ parameters.TargetDocRepoOwner }}
6666 WorkingDirectory : ${{ parameters.WorkingDirectory }}/repo
6767 ScriptDirectory : ${{ parameters.WorkingDirectory }}/${{ parameters.ScriptDirectory }}
68-
69- - ${{if ne( parameters['OnboardingBranch'], '')}} :
70- - pwsh : |
71- Push-Location ${{ parameters.WorkingDirectory }}/repo
72- git reset --hard HEAD
73- git remote rm azure-sdk-fork
74- git checkout ${{ parameters.OnboardingBranch}}
75- displayName: Reset Docs Repo, Checkout Onboarding Branch
76- ignoreLASTEXITCODE: false
77-
78- - task : PowerShell@2
79- displayName : ' Update Docs.MS CI Targeted Packages'
80- inputs :
81- targetType : filePath
82- filePath : ${{ parameters.ScriptDirectory }}/update-docs-ci.ps1
83- arguments : >
84- -ArtifactLocation ${{ parameters.ArtifactLocation }}
85- -WorkDirectory "${{ parameters.WorkingDirectory }}"
86- -RepoId ${{ parameters.RepoId }}
87- -Repository ${{ parameters.PackageRepository }}
88- -ReleaseSHA ${{ parameters.ReleaseSha }}
89- -DocRepoLocation "${{ parameters.WorkingDirectory }}/repo"
90- -Configs "${{ parameters.CIConfigs }}"
91- pwsh : true
92- env :
93- GH_TOKEN : $(azuresdk-github-pat)
94- - template : /eng/common/pipelines/templates/steps/git-push-changes.yml
95- parameters :
96- BaseRepoBranch : ${{ parameters.OnboardingBranch}}
97- BaseRepoOwner : ${{ parameters.TargetDocRepoOwner }}
98- CommitMsg : " Update docs metadata and targeting for release of ${{ parameters.ArtifactName }}"
99- TargetRepoName : ${{ parameters.TargetDocRepoName }}
100- TargetRepoOwner : ${{ parameters.TargetDocRepoOwner }}
101- WorkingDirectory : ${{ parameters.WorkingDirectory }}/repo
102- ScriptDirectory : ${{ parameters.WorkingDirectory }}/${{ parameters.ScriptDirectory }}
0 commit comments