Mise à jour de '.drone.yml'
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Bertrand Benjamin 2020-08-04 15:00:41 +00:00
parent 282dec3ad7
commit 3c8275e298

View File

@ -3,6 +3,21 @@ name: Push Content
type: docker
steps:
- name: notify
image: plugins/matrix
settings:
template: >
*Build started*: {{ repo.owner }}/{{ repo.name }}
<{{ build.link }}|Visit build page ↗>
homeserver:
from_secret: matrix-homeserver
roomid:
from_secret: matrix-roomid
username:
from_secret: matrix-username
password:
from_secret: matrix-pass
- name: Push Content
image: alpine
commands:
@ -17,15 +32,17 @@ steps:
environment:
SSH_KEY:
from_secret: sshcontent-key
- name: notify
image: plugins/matrix
settings:
template: >
{{#success build.status}}
build {{build.number}} succeeded. Good job.
*Build {{build.number}}* on {{ repo.owner }}/{{ repo.name }} succeeded. Good job.
{{else}}
build {{build.number}} failed. Fix me please.
*Build {{build.number}}* on {{ repo.owner }}/{{ repo.name }} failed. Fix me please.
{{/success}}
<{{ build.link }}|Visit build page ↗>
homeserver:
from_secret: matrix-homeserver
roomid: