Skip to content

Commit

Permalink
Update azure-pipelines.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
webNeat committed Oct 4, 2019
1 parent dace335 commit 5138573
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ steps:
targetFolder: '/var/www/html/react-tidy'
cleanTargetFolder: true
displayName: 'Deploy docs'

condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))


- task: GitHubRelease@1
Expand All @@ -57,4 +57,5 @@ steps:
inputs:
command: 'publish'
workingDir: '.'
publishEndpoint: 'npm'
publishEndpoint: 'npm'
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))

0 comments on commit 5138573

Please sign in to comment.