This commit is contained in:
parent
81c4e71a0e
commit
f9ad70d9cc
18
.drone.yml
18
.drone.yml
@ -3,8 +3,16 @@ type: docker
|
||||
name: sthope-test
|
||||
|
||||
steps:
|
||||
- name: sthope-test
|
||||
image: ghcr.io/linuxserver/code-server:latest
|
||||
commands:
|
||||
- go build
|
||||
- go test -v
|
||||
- name: discord notification
|
||||
image: appleboy/drone-discord
|
||||
settings:
|
||||
webhook_id:
|
||||
from_secret: discord_webhook_id
|
||||
webhook_token:
|
||||
from_secret: discord_webhook_token
|
||||
message: >
|
||||
{{#success build.status}}
|
||||
build {{build.number}} succeeded. Good job.
|
||||
{{else}}
|
||||
build {{build.number}} failed. Fix me please.
|
||||
{{/success}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user