From b769078da95081886b72fbd2eafb106765f91517 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Fiti=C3=A9?= Date: Mon, 9 Oct 2023 08:42:57 +0200 Subject: [PATCH] Update branching strategy for staging (#318) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johan FitiƩ --- jobs/deploy.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jobs/deploy.ps1 b/jobs/deploy.ps1 index cbf9d4e3..b9e7ea6d 100644 --- a/jobs/deploy.ps1 +++ b/jobs/deploy.ps1 @@ -20,8 +20,9 @@ & "$PSScriptRoot\test.ps1" $DeployProduction = $Env:CI_COMMIT_REF_NAME -eq $Env:CI_DEFAULT_BRANCH -$DeployAcceptance = $DeployProduction -Or $Env:CI_COMMIT_MESSAGE.Contains('[ACC]') +$DeployAcceptance = $DeployProduction -Or $Env:CI_COMMIT_REF_NAME -eq 'staging' $DeployTesting = $true + if ($DeployTesting) {.\register.bat piaf-t} if ($DeployAcceptance) {.\register.bat piaf-a} if ($DeployProduction) {.\register.bat piaf}