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