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
21
.drone.yml
21
.drone.yml
|
@ -94,24 +94,7 @@ steps:
|
||||||
- >
|
- >
|
||||||
curl -s -X DELETE "https://api.hetzner.cloud/v1/servers/$machineid"
|
curl -s -X DELETE "https://api.hetzner.cloud/v1/servers/$machineid"
|
||||||
-H "Authorization: Bearer $PASSWORD"
|
-H "Authorization: Bearer $PASSWORD"
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: notify
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: notify
|
- name: notify
|
||||||
image: drillster/drone-email:latest
|
commands:
|
||||||
settings:
|
- 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
|
||||||
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]
|
|
||||||
|
|
Loading…
Reference in a new issue