Skip to content

Commit

Permalink
Update ci-cd for publishing npm package (#863)
Browse files Browse the repository at this point in the history
* fix npm publish

Co-authored-by: Andrey Ivanov <v-andivanov@microsoft.com>
  • Loading branch information
AndreyIvanov42 and Andrey Ivanov committed Sep 1, 2022
1 parent 4156f07 commit 629f3b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
npm publish || true # Ignore publish failures, usually will happen because package already exists
displayName: (azure-pipelines-task-lib) npm publish
workingDirectory: node
condition: and(succeeded(), in(variables['build.reason'], 'IndividualCI', 'BatchedCI', 'Manual'), in(variables['build.sourcebranchname'], 'master', 'releases/4.x'))
condition: and(succeeded(), in(variables['build.reason'], 'IndividualCI', 'BatchedCI', 'Manual'), in(variables['build.sourcebranchname'], 'master', '4.x'))
env:
NPM_TOKEN: $(npmPublishToken)
Expand Down

0 comments on commit 629f3b5

Please sign in to comment.