forked from vikunja/website
Fix drone config
This commit is contained in:
parent
486b4910c1
commit
c3bc426ed1
22
.drone.yml
22
.drone.yml
|
@ -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
|
Loading…
Reference in New Issue