doc(noti): add build branch name

This commit is contained in:
Argo Zhang 2019-05-26 08:59:27 +08:00
parent bff153f03e
commit 8135b7ab17
1 changed files with 4 additions and 3 deletions

View File

@ -48,17 +48,18 @@ deploy:
force_update: true force_update: true
on: on:
branch: master branch: master
APPVEYOR_REPO_TAG: true
notifications: notifications:
- provider: Email - provider: Email
to: to:
- argo@163.com - argo@163.com
subject: 'Appveyor Build {{status}}: {{projectName}} {{buildVersion}}' subject: '{{projectName}} {{branch}} Build {{status}} {{buildVersion}}'
message: >- message: >-
<div style="font-family:'Segoe UI',Arial,Sans-Serif;font-size:10pt;"> <div style="font-family:'Segoe UI',Arial,Sans-Serif;font-size:10pt;">
{{#passed}} {{#passed}}
<h1 style="font-size: 150%;font-weight:normal; color:#078DC7;"><a href="{{buildUrl}}" style="color:#078DC7;">Build {{projectName}} {{buildVersion}} completed</a></h1>{{/passed}} <h1 style="font-size: 150%;font-weight:normal; color:#078DC7;"><a href="{{buildUrl}}" style="color:#078DC7;">Build {{repositoryProvider}} {{projectName}} {{branch}} {{buildVersion}} completed</a></h1>{{/passed}}
{{#failed}} {{#failed}}
<h1 style="font-size: 150%;font-weight:normal; color:#ff3228;"><a href="{{buildUrl}}" style="color:#ff3228;">Build {{projectName}} {{buildVersion}} failed</a></h1>{{/failed}} <h1 style="font-size: 150%;font-weight:normal; color:#ff3228;"><a href="{{buildUrl}}" style="color:#ff3228;">Build {{repositoryProvider}} {{projectName}} {{branch}} {{buildVersion}} failed</a></h1>{{/failed}}
<p style="color: #888;"> <p style="color: #888;">
Commit <a href="{{commitUrl}}">{{commitId}}</a> by <a href="mailto:{{commitAuthorEmail}}">{{commitAuthor}}</a> on {{commitDate}}: Commit <a href="{{commitUrl}}">{{commitId}}</a> by <a href="mailto:{{commitAuthorEmail}}">{{commitAuthor}}</a> on {{commitDate}}:
<br /> <br />