This commit is contained in:
parent
e42f7d3e6b
commit
e1245d9fa4
@ -1,5 +1,23 @@
|
|||||||
# https://woodpecker-ci.org/docs/usage/intro
|
# https://woodpecker-ci.org/docs/usage/intro
|
||||||
pipeline:
|
pipeline:
|
||||||
|
|
||||||
|
notify:
|
||||||
|
# http://plugins.drone.io/appleboy/drone-discord/
|
||||||
|
image: appleboy/drone-discord
|
||||||
|
settings:
|
||||||
|
webhook_id: 901853296384438312
|
||||||
|
# from_secret: discord_webhook_id
|
||||||
|
webhook_token: NFIwEVtLxgcaFIbeBHCRS7WuL2rPrQuzr6wsrraqLH_WUbfk-en6Xx_SkGsLm7JBt6O9
|
||||||
|
message: "test"
|
||||||
|
# from_secret: discord_webhook_token
|
||||||
|
# message: >
|
||||||
|
# {{#success build.status}}
|
||||||
|
# build {{build.number}} succeeded. Good job.
|
||||||
|
# {{else}}
|
||||||
|
# build {{build.number}} failed. Fix me please.
|
||||||
|
# {{/success}}
|
||||||
|
# secrets: [ discord_id, discord_token]
|
||||||
|
|
||||||
build_and_test:
|
build_and_test:
|
||||||
image: rust
|
image: rust
|
||||||
commands:
|
commands:
|
||||||
@ -13,18 +31,3 @@ pipeline:
|
|||||||
- echo $DISCORD_WEBHOOK_ID
|
- echo $DISCORD_WEBHOOK_ID
|
||||||
secrets: [discord_id ]
|
secrets: [discord_id ]
|
||||||
|
|
||||||
notify:
|
|
||||||
# http://plugins.drone.io/appleboy/drone-discord/
|
|
||||||
image: appleboy/drone-discord
|
|
||||||
settings:
|
|
||||||
webhook_id: 901853296384438312
|
|
||||||
# from_secret: discord_webhook_id
|
|
||||||
webhook_token: NFIwEVtLxgcaFIbeBHCRS7WuL2rPrQuzr6wsrraqLH_WUbfk-en6Xx_SkGsLm7JBt6O9
|
|
||||||
# from_secret: discord_webhook_token
|
|
||||||
# message: >
|
|
||||||
# {{#success build.status}}
|
|
||||||
# build {{build.number}} succeeded. Good job.
|
|
||||||
# {{else}}
|
|
||||||
# build {{build.number}} failed. Fix me please.
|
|
||||||
# {{/success}}
|
|
||||||
# secrets: [ discord_id, discord_token]
|
|
||||||
|
Loading…
Reference in New Issue
Block a user