Mise à jour de '.drone.yml'
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
282dec3ad7
commit
3c8275e298
21
.drone.yml
21
.drone.yml
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user