ci: move deploy condition to deploy.yml

This commit is contained in:
Christopher Felegy
2019-03-16 16:33:09 -04:00
parent 369fb78e2f
commit 5d3bf981de
2 changed files with 6 additions and 5 deletions

View File

@@ -17,8 +17,3 @@ jobs:
steps:
- template: azure/build.yml
- template: azure/deploy.yml
condition: |
and (
succeeded(),
eq(variables['Build.SourceBranch'], 'refs/heads/ci/azure')
)

View File

@@ -10,3 +10,9 @@ steps:
# TODO: build nuspec
- task: PublishBuildArtifacts@1
condition: |
and (
succeeded(),
eq(variables['Build.SourceBranch'], 'refs/heads/ci/azure')
)