diff --git a/eng/pipelines/templates/stages/archetype-sdk-publish-js.yml b/eng/pipelines/templates/stages/archetype-sdk-publish-js.yml index d97c5d6acfa..713de8d9353 100644 --- a/eng/pipelines/templates/stages/archetype-sdk-publish-js.yml +++ b/eng/pipelines/templates/stages/archetype-sdk-publish-js.yml @@ -52,7 +52,7 @@ extends: - pwsh: | Write-Host "Will deploy with tag of $(Tag)" - Get-ChildItem "$(Pipeline.Workspace)/drop" -Recurse -Force ` + Get-ChildItem "$(Pipeline.Workspace)/${{ parameters.ArtifactName }}" -Recurse -Force ` | Where-Object { $_.Name -like "*.tgz" } ` | Copy-Item -Destination "$(Build.ArtifactStagingDirectory)"