mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-infect.git
synced 2025-01-15 13:26:38 +00:00
Update '.drone.yml'
This commit is contained in:
parent
22bd9a6e57
commit
b174f4cc36
23
.drone.yml
23
.drone.yml
|
@ -94,24 +94,7 @@ steps:
|
|||
- >
|
||||
curl -s -X DELETE "https://api.hetzner.cloud/v1/servers/$machineid"
|
||||
-H "Authorization: Bearer $PASSWORD"
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: notify
|
||||
|
||||
steps:
|
||||
- name: notify
|
||||
image: drillster/drone-email:latest
|
||||
settings:
|
||||
from.address: test@selfprivacy.org
|
||||
from.name: SelfPrivacy CI
|
||||
host: selfprivacy.org
|
||||
username: test@selfprivacy.org
|
||||
password: 228337
|
||||
subject: Daily build results
|
||||
body: >
|
||||
[{{ build.status }}]
|
||||
{{ repo.owner }}/{{ repo.name }}
|
||||
({{ build.branch }} - {{ truncate build.commit 8 }})
|
||||
when:
|
||||
status: [changed, failure, running]
|
||||
- name: notify
|
||||
commands:
|
||||
- docker run --rm -e PLUGIN_FROM_ADDRESS=test@selfprivacy.org -e PLUGIN_FROM_NAME="SelfPrivacy CI" -e PLUGIN_HOST=selfprivacy.org -e PLUGIN_USERNAME=test@selfprivacy.org -e PLUGIN_PASSWORD=228337 -e DRONE_REPO_OWNER=SelfPrivacy -e DRONE_REPO_NAME=selfprivacy-nixos-infect -e DRONE_COMMIT_SHA=5253bb604c -e DRONE_COMMIT_BRANCH=development -e DRONE_COMMIT_AUTHOR=SelfPrivacy -e DRONE_COMMIT_AUTHOR_EMAIL=illia.chub@selfprivacy.org -v /etc/recipients:/etc/recipients -w $(pwd) drillster/drone-email
|
||||
|
|
Loading…
Reference in a new issue