This commit is contained in:
Jamie Rees 2019-04-11 21:27:09 +01:00
commit 809859b3ba

View file

@ -22,9 +22,9 @@ install:
build_script: build_script:
- ps: | - ps: |
$deployBranches = @{ $deployBranches = @{
'feature/v4' = $true, feature/v4,
'develop' = $true, develop,
'master' = $true master
} }
If(($env:APPVEYOR_REPO_BRANCH -in $deployBranches -Or $env:APPVEYOR_REPO_COMMIT_MESSAGE -Match '!deploy') -And $env:APPVEYOR_REPO_COMMIT_MESSAGE -notlike '!build') { If(($env:APPVEYOR_REPO_BRANCH -in $deployBranches -Or $env:APPVEYOR_REPO_COMMIT_MESSAGE -Match '!deploy') -And $env:APPVEYOR_REPO_COMMIT_MESSAGE -notlike '!build') {
Write-Output "This is a deployment build" Write-Output "This is a deployment build"