ci: move deploy condition to deploy.yml
This commit is contained in:
@@ -17,8 +17,3 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- template: azure/build.yml
|
- template: azure/build.yml
|
||||||
- template: azure/deploy.yml
|
- template: azure/deploy.yml
|
||||||
condition: |
|
|
||||||
and (
|
|
||||||
succeeded(),
|
|
||||||
eq(variables['Build.SourceBranch'], 'refs/heads/ci/azure')
|
|
||||||
)
|
|
||||||
|
|||||||
@@ -10,3 +10,9 @@ steps:
|
|||||||
# TODO: build nuspec
|
# TODO: build nuspec
|
||||||
|
|
||||||
- task: PublishBuildArtifacts@1
|
- task: PublishBuildArtifacts@1
|
||||||
|
|
||||||
|
condition: |
|
||||||
|
and (
|
||||||
|
succeeded(),
|
||||||
|
eq(variables['Build.SourceBranch'], 'refs/heads/ci/azure')
|
||||||
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user