reel-moby/.woodpecker.yml
eppixx 9f2d1269ce
Some checks failed
continuous-integration/woodpecker the build failed
more tries
2021-10-27 13:30:13 +00:00

31 lines
787 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_WEBHOOK_ID
secrets: [discord_id ]
notify:
# http://plugins.drone.io/appleboy/drone-discord/
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}}
# secrets: [ discord_id, discord_token]