File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 4545 displayName: "NPM install and build"
4646
4747 - task : CopyFiles@2
48+ condition : eq(variables['Build.SourceBranch'], 'refs/heads/master')
4849 displayName : Move storybook package json
4950 inputs :
5051 SourceFolder : " .storybook"
@@ -53,15 +54,15 @@ steps:
5354 OverWrite : true
5455
5556 - task : Npm@1
56- enabled : true
57+ condition : eq(variables['Build.SourceBranch'], 'refs/heads/master')
5758 displayName : Publish react-spaces-storybook
5859 inputs :
5960 command : " publish"
6061 workingDir : " storybook-static"
6162 publishEndpoint : " NPM"
6263
6364 - task : Npm@1
64- enabled : true
65+ condition : eq(variables['Build.SourceBranch'], 'refs/heads/master')
6566 displayName : Publish react-spaces
6667 inputs :
6768 command : " publish"
You can’t perform that action at this time.
0 commit comments