reel-moby/.woodpecker.yml
Thomas Eppers 646b0ba60c
Some checks failed
continuous-integration/woodpecker the build failed
new try
2021-10-25 00:34:21 +02:00

31 lines
755 B
YAML

# https://woodpecker-ci.org/docs/usage/intro
pipeline:
build_and_test:
image: rust
commands:
- cargo build --release
- cargo test --release
echo-tes2:
image: docker
commands:
- echo $discord_id
- echo $DISCORD_ID
secrets: [discord_id ]
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}}
secrets: [ discord_id, discord_token]