From e1bc3a3f0c49b3ea25b9332696e202e57aa6a8ef Mon Sep 17 00:00:00 2001 From: Christopher Felegy Date: Sat, 16 Mar 2019 16:35:35 -0400 Subject: [PATCH] ci: move condition back to root, debug deploy --- azure-pipelines.yml | 8 +++++++- azure/deploy.yml | 6 ------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 45f0fdc7b..d5aff77e3 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -16,4 +16,10 @@ jobs: vmImage: 'vs2017-win2016' steps: - template: azure/build.yml - - template: azure/deploy.yml + - script: echo deploy + # TODO: condition check for dev branch + condition: | + and ( + succeeded(), + eq(variables['Build.SourceBranch'], 'refs/heads/ci/azure') + ) diff --git a/azure/deploy.yml b/azure/deploy.yml index 77f0bec36..52663df3f 100644 --- a/azure/deploy.yml +++ b/azure/deploy.yml @@ -10,9 +10,3 @@ steps: # TODO: build nuspec - task: PublishBuildArtifacts@1 - -condition: | - and ( - succeeded(), - eq(variables['Build.SourceBranch'], 'refs/heads/ci/azure') - )