Update '.drone.yml'

password-decoding
Illia Chub 2022-01-21 07:55:22 +02:00
parent 22bd9a6e57
commit b174f4cc36
1 changed files with 3 additions and 20 deletions

View File

@ -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