diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 3e1bddb3c..45f0fdc7b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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') - ) diff --git a/azure/deploy.yml b/azure/deploy.yml index 52663df3f..77f0bec36 100644 --- a/azure/deploy.yml +++ b/azure/deploy.yml @@ -10,3 +10,9 @@ steps: # TODO: build nuspec - task: PublishBuildArtifacts@1 + +condition: | + and ( + succeeded(), + eq(variables['Build.SourceBranch'], 'refs/heads/ci/azure') + )