Skip to content
Permalink
Browse files

Add notification to CI (#33)

  • Loading branch information...
Depado committed Jan 8, 2019
1 parent 290d13b commit 0a6f3899a00784b14d0f969b5fe9dc94830d27e7
Showing with 7 additions and 5 deletions.
  1. +7 −5 .drone.yml
@@ -12,7 +12,7 @@ steps:
from_secret: ssh_key
script:
- rm -r /home/depado/smallblog/pages/*
trigger:
when:
branch: [master]
event: [push]

@@ -27,7 +27,7 @@ steps:
environment:
SSH_KEY:
from_secret: ssh_key
trigger:
when:
branch: [master]
event: [push]

@@ -39,6 +39,8 @@ steps:
token:
from_secret: telegram_token
message: >
*{{ repo.name }}*
[Build {{build.number}}]({{build.link}}) on branch `{{build.branch}}` by {{build.author}}{{#success build.status}}succeeded{{else}}failed{{/success}} in {{since build.started}}
`{{commit.sha}}`
*{{repo.owner}}/{{repo.name}}*
[Build {{build.number}}]({{build.link}}) by {{commit.author}} {{#success build.status}}succeeded{{else}}failed{{/success}} in {{buildtime build.started}}
`{{truncate commit.sha 8}}`: "{{commit.message}}"

0 comments on commit 0a6f389

Please sign in to comment.
You can’t perform that action at this time.