Update .drone.yml

This commit is contained in:
Ruan Bekker 2019-04-30 17:35:39 +02:00 committed by GitHub
parent 06e60c2a51
commit e6c60c229f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,13 +21,15 @@ pipeline:
username: Builds
template: >
{{#success build.status}}
[DRONE CI]: *{{ uppercase build.status }}* : <https://github.com/{{ repo.owner }}/{{ repo.name }}|{{ repo.owner }}/{{ repo.name }}>
> link: {{build.link}}
[DRONE CI]: *{{ uppercase build.status }}*
> github repo: <https://github.com/{{ repo.owner }}/{{ repo.name }}|{{ repo.owner }}/{{ repo.name }}>
> drone build: {{build.link}}
> author: {{build.author}}
> commit: <https://github.com/{{ repo.owner }}/{{ repo.name }}/commit/{{build.commit}}|{{truncate build.commit 8}}>
> github commit: <https://github.com/{{ repo.owner }}/{{ repo.name }}/commit/{{build.commit}}|{{truncate build.commit 8}}>
{{else}}
[DRONE CI]: *{{ uppercase build.status }}* : <https://github.com/{{ repo.owner }}/{{ repo.name }}|{{ repo.owner }}/{{ repo.name }}>
> link: {{build.link}}
[DRONE CI]: *{{ uppercase build.status }}*
> github repo: <https://github.com/{{ repo.owner }}/{{ repo.name }}|{{ repo.owner }}/{{ repo.name }}>
> drone build: {{build.link}}
> author: {{build.author}}
> commit: <https://github.com/{{ repo.owner }}/{{ repo.name }}/commit/{{build.commit}}|{{truncate build.commit 8}}>
> github commit: <https://github.com/{{ repo.owner }}/{{ repo.name }}/commit/{{build.commit}}|{{truncate build.commit 8}}>
{{/success}}