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