6177214e-ce7c-49e3-99de-ff9721b26f63 — Commit 299c1dd0

AuthorNikolaj King<nikolaj.king@gmail.com>
Date2024-08-08 14:46:35 +0200
Update azure-pipelines.yml for Azure Pipelines

Changed files

azure/azure-pipelines.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Diff

diff --git a/azure/azure-pipelines.yml b/azure/azure-pipelines.yml
index df24f83c..57408d5a 100644
--- a/azure/azure-pipelines.yml
+++ b/azure/azure-pipelines.yml
@@ -20,7 +20,7 @@ stages:
- stage:
- condition: and(succeeded(), ne(variables['Build.SourceBranch'], 'refs/heads/test'), ne(variables['Build.SourceBranch'], 'refs/heads/stage'), ne(variables['Build.SourceBranch'], 'refs/heads/main') )
+ condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/test'), eq(variables['Build.SourceBranch'], 'refs/heads/stage'), eq(variables['Build.SourceBranch'], 'refs/heads/main') )
jobs:
- deployment:
environment: ${{ variables.environment }}