This commit is contained in:
parent
4913c05898
commit
e4e7b4b1b6
38
.drone.yml
38
.drone.yml
@ -3,25 +3,6 @@ name: Push Content
|
||||
type: docker
|
||||
|
||||
steps:
|
||||
- name: notify
|
||||
image: plugins/matrix
|
||||
settings:
|
||||
template: >
|
||||
{{#success build.status}}
|
||||
build {{build.number}} succeeded. Good job.
|
||||
{{else}}
|
||||
build {{build.number}} failed. Fix me please.
|
||||
{{/success}}
|
||||
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:
|
||||
@ -36,5 +17,20 @@ steps:
|
||||
environment:
|
||||
SSH_KEY:
|
||||
from_secret: sshcontent-key
|
||||
|
||||
|
||||
- name: notify
|
||||
image: plugins/matrix
|
||||
settings:
|
||||
template: >
|
||||
{{#success build.status}}
|
||||
build {{build.number}} succeeded. Good job.
|
||||
{{else}}
|
||||
build {{build.number}} failed. Fix me please.
|
||||
{{/success}}
|
||||
homeserver:
|
||||
from_secret: matrix-homeserver
|
||||
roomid:
|
||||
from_secret: matrix-roomid
|
||||
username:
|
||||
from_secret: matrix-username
|
||||
password:
|
||||
from_secret: matrix-pass
|
Loading…
Reference in New Issue
Block a user