[chore] update appveyor.yml
This commit is contained in:
parent
de3a636aea
commit
29afa79499
|
|
@ -52,8 +52,8 @@ for:
|
|||
branches:
|
||||
except:
|
||||
- master
|
||||
only_commits:
|
||||
message: /\[build\]/
|
||||
# only_commits:
|
||||
# message: /\[build\]/
|
||||
environment:
|
||||
matrix:
|
||||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
. .\scripts\appveyor\appveyor_get_build.ps1
|
||||
|
||||
# Ignore commits without APPVEYOR_API_TOKEN envrionment variable
|
||||
if (-not ($env:APPVEYOR_API_TOKEN)) { return }
|
||||
|
||||
# Only deploy when commit message contains "[deploy]"
|
||||
if (!(Get-AppVeyorBuild).build.message.Contains('[deploy]')) { return }
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue