Update '.drone.yml'
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
sthope 2021-09-01 23:29:07 +02:00
parent 81c4e71a0e
commit f9ad70d9cc

View File

@ -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}}