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