Fix drone config
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kolaente 2021-04-22 11:16:51 +02:00
parent 486b4910c1
commit c3bc426ed1
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 21 deletions

View File

@ -13,7 +13,7 @@ steps:
- git submodule update --recursive --remote
- name: theme
image: kolaente/tools
image: kolaente/toolbox
pull: true
group: build-static
commands:
@ -27,7 +27,6 @@ steps:
pull: true
commands:
- hugo
depends_on: [ theme ]
- name: docker
image: plugins/docker
@ -42,22 +41,3 @@ steps:
when:
event: [ push ]
branch: [ master ]
depends_on: [ build ]
- name: telegram
image: appleboy/drone-telegram:1-linux-amd64
depends_on:
- docker
settings:
token:
from_secret: TELEGRAM_TOKEN
to:
from_secret: TELEGRAM_TO
message: >
{{repo.owner}}/{{repo.name}}: \[{{build.status}}] Build {{build.number}}
{{commit.author}} pushed to {{commit.branch}} {{commit.sha}}: `{{commit.message}}`
Build started at {{datetime build.started "2006-Jan-02T15:04:05Z" "GMT+2"}} finished at {{datetime build.finished "2006-Jan-02T15:04:05Z" "GMT+2"}}.
when:
status:
- success
- failure