Browse Source

ci: move deploy condition to deploy.yml

dispose-tweaks
Christopher Felegy 6 years ago
parent
commit
5d3bf981de
2 changed files with 6 additions and 5 deletions
  1. +0
    -5
      azure-pipelines.yml
  2. +6
    -0
      azure/deploy.yml

+ 0
- 5
azure-pipelines.yml 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')
)

+ 6
- 0
azure/deploy.yml View File

@@ -10,3 +10,9 @@ steps:
# TODO: build nuspec

- task: PublishBuildArtifacts@1

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

Loading…
Cancel
Save