Skip to content

Commit

Permalink
Enable JS Docs.MS CI Onboarding (#10441)
Browse files Browse the repository at this point in the history
* updates to the release!
  • Loading branch information
scbedd committed Aug 5, 2020
1 parent d81d479 commit a71db3b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions eng/pipelines/templates/stages/archetype-js-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ stages:

pool:
vmImage: windows-2019
variables:
CIConfigs: "{'targets':[{'path_to_config':'ci-configs/packages-preview.json','Mode':'Preview'},{'path_to_config':'ci-configs/packages-latest.json','mode':'Latest'}]}"

strategy:
runOnce:
Expand All @@ -103,6 +105,10 @@ stages:
Get-ChildItem -Recurse $(Pipeline.Workspace)/${{artifact.safeName}}
workingDirectory: $(Pipeline.Workspace)
displayName: Output Visible Artifacts
- template: /eng/common/pipelines/templates/steps/get-pr-owners.yml
parameters:
TargetVariable: "OwningGHUser"
ServiceDirectory: ${{parameters.ServiceDirectory}}
- template: /eng/common/pipelines/templates/steps/docs-metadata-release.yml
parameters:
ArtifactLocation: $(Pipeline.Workspace)/${{artifact.safeName}}
Expand All @@ -112,10 +118,12 @@ stages:
WorkingDirectory: $(System.DefaultWorkingDirectory)
TargetDocRepoOwner: ${{parameters.TargetDocRepoOwner}}
TargetDocRepoName: ${{parameters.TargetDocRepoName}}
PRBranchName: 'smoke-test-rdme'
ArtifactName: ${{parameters.ArtifactName}}
PRBranchName: onboarding-${{artifact.name}}-$(Build.BuildId)
ArtifactName: ${{artifact.name}}
Language: 'javascript'
DocRepoDestinationPath: 'docs-ref-services/'
GHReviewersVariable: 'OwningGHUser'
CIConfigs: $(CIConfigs)

- ${{if ne(artifact.options.skipPublishDocs, 'true')}}:
- deployment: PublishDocsGitHubIO
Expand Down

0 comments on commit a71db3b

Please sign in to comment.