This commit is contained in:
parent
3afa5b6a0f
commit
650c26e1a5
@ -1,6 +1,21 @@
|
||||
pipeline:
|
||||
test:
|
||||
build_and_test:
|
||||
image: rust
|
||||
commands:
|
||||
- cargo build
|
||||
- cargo build --release
|
||||
- cargo test
|
||||
|
||||
notify:
|
||||
# http://plugins.drone.io/appleboy/drone-discord/
|
||||
image: appleboy/drone-discord
|
||||
settings:
|
||||
webhook_id:
|
||||
from_secret: discord_id
|
||||
webhook_token:
|
||||
from_secret: discord_token
|
||||
message: >
|
||||
{{#success build.status}}
|
||||
build {{build.number}} succeeded. Good job.
|
||||
{{else}}
|
||||
build {{build.number}} failed. Fix me please.
|
||||
{{/success}}
|
||||
|
Loading…
Reference in New Issue
Block a user