From bc2c5325b52fd6ea96f584bb2d46ed1eedfc4e25 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Mon, 30 Sep 2019 15:43:36 -0500 Subject: [PATCH] keep trying to push to GH pkg reg, but don't fail the build if it fails --- azure-pipelines.api.yaml | 2 +- azure-pipelines.web.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.api.yaml b/azure-pipelines.api.yaml index 50210c7dd..802f6b4ca 100644 --- a/azure-pipelines.api.yaml +++ b/azure-pipelines.api.yaml @@ -148,7 +148,7 @@ steps: CleanTargetFolder: true OverWrite: true # condition: "and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))" - condition: "and(eq(variables['Build.SourceBranch'], 'refs/heads/master'))" + condition: "eq(variables['Build.SourceBranch'], 'refs/heads/master')" - task: PublishBuildArtifacts@1 displayName: "publish docker-compose files" diff --git a/azure-pipelines.web.yaml b/azure-pipelines.web.yaml index 8549216d8..9f6b9341e 100644 --- a/azure-pipelines.web.yaml +++ b/azure-pipelines.web.yaml @@ -65,7 +65,7 @@ steps: CleanTargetFolder: true OverWrite: true # condition: "and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))" - condition: "and(eq(variables['Build.SourceBranch'], 'refs/heads/master'))" + condition: "eq(variables['Build.SourceBranch'], 'refs/heads/master')" - task: PublishBuildArtifacts@1 displayName: "publish docker-compose files"