Fix drone config
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
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
|
- git submodule update --recursive --remote
|
||||||
|
|
||||||
- name: theme
|
- name: theme
|
||||||
image: kolaente/tools
|
image: kolaente/toolbox
|
||||||
pull: true
|
pull: true
|
||||||
group: build-static
|
group: build-static
|
||||||
commands:
|
commands:
|
||||||
|
@ -27,7 +27,6 @@ steps:
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- hugo
|
- hugo
|
||||||
depends_on: [ theme ]
|
|
||||||
|
|
||||||
- name: docker
|
- name: docker
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
|
@ -42,22 +41,3 @@ steps:
|
||||||
when:
|
when:
|
||||||
event: [ push ]
|
event: [ push ]
|
||||||
branch: [ master ]
|
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