leetcode/.woodpecker/test.yml
Sainnhe Park 5e617796e6
All checks were successful
ci/woodpecker/push/test Pipeline was successful
Update CI to use custom mailer image
2022-12-28 14:48:10 +08:00

31 lines
627 B
YAML

branches: master
pipeline:
# test:
# image: docker.io/sainnhe/cmake:latest
# commands:
# - cmake .
# - cmake --build . --parallel $(nproc) --target all
# - ctest
notify:
image: sainnhe/mailer
commands:
- mailer
secrets:
[
MAILER_FROM_ADDRESS,
MAILER_FROM_NAME,
MAILER_RECIPIENTS,
MAILER_USER_NAME,
MAILER_PASSWORD,
MAILER_HOST,
MAILER_PORT,
MAILER_USE_STARTTLS,
]
environment:
- MAILER_SUBJECT="Run Failed"
- MAILER_BODY=${CI_BUILD_LINK}
# when:
# status:
# - failure