Skip to content

Commit

Permalink
Update branching strategy for staging (#318)
Browse files Browse the repository at this point in the history
Signed-off-by: Johan Fitié <jfitie@gmail.com>
  • Loading branch information
jfitie authored Oct 9, 2023
1 parent cff5712 commit b769078
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jobs/deploy.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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}

0 comments on commit b769078

Please # to comment.