mirror of
https://github.com/muerwre/vk-tg-bot.git
synced 2025-04-25 15:06:41 +07:00
#5 removed telegram
This commit is contained in:
parent
db1b0af35a
commit
dc42892444
2 changed files with 2 additions and 20 deletions
18
.drone.yml
18
.drone.yml
|
@ -62,21 +62,3 @@ steps:
|
|||
- cp -a $${ENV_PATH}/${DRONE_BRANCH}/. $${BUILD_PATH}/${DRONE_BRANCH}
|
||||
- DRONE_BRANCH=${DRONE_BRANCH} docker-compose -f ./docker/docker-compose.yml build
|
||||
- DRONE_BRANCH=${DRONE_BRANCH} docker-compose -f ./docker/docker-compose.yml up -d
|
||||
- name: telegram_notify
|
||||
image: appleboy/drone-telegram
|
||||
when:
|
||||
status:
|
||||
- success
|
||||
- failure
|
||||
settings:
|
||||
token:
|
||||
from_secret: telegram_token
|
||||
to:
|
||||
from_secret: telegram_chat_id
|
||||
format: markdown
|
||||
message: >
|
||||
{{#success build.status}}🤓{{else}}😨{{/success}}
|
||||
[{{repo.name}} / {{commit.branch}}]({{ build.link }})
|
||||
```
|
||||
{{ commit.message }}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue