Follow Setting up a custom incoming webhook
Define teams_webhook secret with the webhook URL in drone.
Add to .drone.yml
steps:
- name: notify
image: rabrennie/drone-teams
settings:
webhook:
from_secret: teams_webhook
when:
status:
- success
- failure