diff --git a/.drone.yml b/.drone.yml index e2a4f9d..1961d85 100644 --- a/.drone.yml +++ b/.drone.yml @@ -93,4 +93,14 @@ steps: - export machineid=$( for i in {0..24}; do jq 'if .servers['$i'].name == "ci-sibling" then .servers['$i'].id else null end' .hetzner_servers.json; done | grep -v null | sed 's/"//g') - > curl -s -X DELETE "https://api.hetzner.cloud/v1/servers/$machineid" - -H "Authorization: Bearer $PASSWORD" \ No newline at end of file + -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 ] \ No newline at end of file