[chore] update appveyor.yml

This commit is contained in:
Nomango 2019-08-18 19:07:05 +08:00
parent de3a636aea
commit 29afa79499
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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 }