6177214e-ce7c-49e3-99de-ff9721b26f63 — Commit b79ac220

AuthorNikolaj King<nikolaj.king@gmail.com>
Date2024-08-07 12:23:12 +0200
Update azure-pipelines.yml for Azure Pipelines

Changed files

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

Diff

diff --git a/azure/azure-pipelines.yml b/azure/azure-pipelines.yml
index 791635e7..f09c4b78 100644
--- a/azure/azure-pipelines.yml
+++ b/azure/azure-pipelines.yml
@@ -17,9 +17,10 @@ stages:
- stage:
- condition: and(succeeded(), ne(variables['Build.SourceBranch'], 'refs/heads/develop'))
+ condition: and(succeeded(), ne(variables['Build.SourceBranch'], 'refs/heads/develop'), ne(variables['Build.SourceBranch'], 'refs/heads/stage'), ne(variables['Build.SourceBranch'], 'refs/heads/main') )
jobs:
- deployment:
+ environment: ${{ variables.environment }}
strategy:
runOnce:
deploy: