From 5ecbef8d2c892618c0957baa5b0874fb1979b9fd Mon Sep 17 00:00:00 2001 From: Ian Clanton-Thuon Date: Tue, 28 May 2024 14:44:09 -0700 Subject: [PATCH] Fix one more publishing issue. --- common/config/azure-pipelines/playground-build.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/common/config/azure-pipelines/playground-build.yaml b/common/config/azure-pipelines/playground-build.yaml index b8fd39b3..e2accafc 100644 --- a/common/config/azure-pipelines/playground-build.yaml +++ b/common/config/azure-pipelines/playground-build.yaml @@ -32,18 +32,21 @@ jobs: steps: - checkout: pagesBranch persistCredentials: true + path: tsdoc - script: git checkout gh-pages displayName: 'Checkout gh-pages Branch' + workingDirectory: '$(Agent.BuildDirectory)/tsdoc' - script: rm -r $(Build.SourcesDirectory)/* displayName: 'Clean Pages Branch' + workingDirectory: '$(Agent.BuildDirectory)/tsdoc' - task: DownloadPipelineArtifact@2 displayName: 'Download Playground Artifacts' inputs: artifact: playground - targetPath: $(Build.SourcesDirectory) + targetPath: $(Agent.BuildDirectory)/tsdoc - template: /common/config/azure-pipelines/templates/configure-git.yaml@self @@ -58,3 +61,4 @@ jobs: echo "No changes" fi displayName: 'Commit and push playground artifacts' + workingDirectory: '$(Agent.BuildDirectory)/tsdoc'