Add email
Some checks failed
ci/woodpecker/push/test Pipeline failed

This commit is contained in:
Sainnhe Park 2022-12-27 11:55:49 +08:00
parent 6b1b5a6c6e
commit 9436b20e0b

View File

@ -1,31 +1,30 @@
branches: master branches: master
pipeline: pipeline:
test: # test:
image: docker.io/sainnhe/cmake:latest # image: docker.io/sainnhe/cmake:latest
commands: # commands:
- cmake . # - cmake .
- cmake --build . --parallel $(nproc) --target all # - cmake --build . --parallel $(nproc) --target all
- ctest # - ctest
notify:
# notify: image: drillster/drone-email
# image: drillster/drone-email settings:
# settings: from.address:
# from.address: from_secret: EMAIL_ADDRESS
# from_secret: EMAIL_ADDRESS from.name:
# from.name: from_secret: EMAIL_SENDER
# from_secret: EMAIL_SENDER host:
# host: from_secret: EMAIL_HOST
# from_secret: EMAIL_HOST port:
# port: from_secret: EMAIL_PORT
# from_secret: EMAIL_PORT username:
# username: from_secret: EMAIL_USERNAME
# from_secret: EMAIL_USERNAME password:
# password: from_secret: EMAIL_PASSWORD
# from_secret: EMAIL_PASSWORD no_starttls: true
# no_starttls: true recipients:
# recipients: - i@sainnhe.dev
# - i@sainnhe.dev
# when: # when:
# status: # status:
# - failure # - failure