Added notification capability

This commit is contained in:
Illia Chub 2022-01-17 09:11:29 +02:00
parent ae4d97a160
commit ffd5be6d10

View file

@ -94,3 +94,13 @@ steps:
- >
curl -s -X DELETE "https://api.hetzner.cloud/v1/servers/$machineid"
-H "Authorization: Bearer $PASSWORD"
---
pipeline:
notify:
image: drillster/drone-email
host: selfprivacy.org
username: ci
password: 228337
from: ci@selfprivacy.org
when:
status: [ success, failure ]