Skip to content

Commit

Permalink
Use sparse checkout for Publish to Docs.MS release job
Browse files Browse the repository at this point in the history
  • Loading branch information
benbp committed Jun 10, 2021
1 parent b84079c commit 5869ee9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion eng/pipelines/templates/stages/archetype-net-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,10 @@ stages:
runOnce:
deploy:
steps:
- checkout: self
- template: /eng/common/pipelines/templates/steps/sparse-checkout.yml
parameters:
paths:
- .github/CODEOWNERS
- template: /eng/common/pipelines/templates/steps/get-pr-owners.yml
parameters:
TargetVariable: "OwningGHUser"
Expand All @@ -172,6 +175,9 @@ stages:
CIConfigs: $(CIConfigs)
OnboardingBranch: 'onboarding'
CloseAfterOpenForTesting: '${{ parameters.TestPipeline }}'
SparseCheckoutPaths:
- api


- ${{if ne(artifact.skipPublishDocGithubIo, 'true')}}:
- deployment: PublishDocs
Expand Down

0 comments on commit 5869ee9

Please sign in to comment.