mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 21:25:35 +03:00
commit
22b352a47d
1 changed files with 54 additions and 0 deletions
54
.drone.yml
54
.drone.yml
|
@ -7,6 +7,33 @@ steps:
|
|||
commands:
|
||||
- ./gradlew assembleGeneric
|
||||
|
||||
- name: notify
|
||||
image: drillster/drone-email
|
||||
host: $EMAIL_HOST
|
||||
port: 587
|
||||
username: $EMAIL_USERNAME
|
||||
password: $EMAIL_PASSWORD
|
||||
from: nextcloud-drone@kaminsky.me
|
||||
skip_verify: true
|
||||
recipients_only: true
|
||||
recipients: [ $EMAIL_RECIPIENTS ]
|
||||
environment:
|
||||
EMAIL_USERNAME:
|
||||
from_secret: EMAIL_USERNAME
|
||||
EMAIL_PASSWORD:
|
||||
from_secret: EMAIL_PASSWORD
|
||||
EMAIL_RECIPIENTS:
|
||||
from_secret: EMAIL_RECIPIENTS
|
||||
EMAIL_HOST:
|
||||
from_secret: EMAIL_HOST
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
status:
|
||||
- failure
|
||||
branch:
|
||||
- master
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
|
@ -43,6 +70,33 @@ steps:
|
|||
- curl -o codecov.sh https://codecov.io/bash
|
||||
- bash ./codecov.sh -t fc506ba4-33c3-43e4-a760-aada38c24fd5
|
||||
|
||||
- name: notify
|
||||
image: drillster/drone-email
|
||||
host: $EMAIL_HOST
|
||||
port: 587
|
||||
username: $EMAIL_USERNAME
|
||||
password: $EMAIL_PASSWORD
|
||||
from: nextcloud-drone@kaminsky.me
|
||||
skip_verify: true
|
||||
recipients_only: true
|
||||
recipients: [ $EMAIL_RECIPIENTS ]
|
||||
environment:
|
||||
EMAIL_USERNAME:
|
||||
from_secret: EMAIL_USERNAME
|
||||
EMAIL_PASSWORD:
|
||||
from_secret: EMAIL_PASSWORD
|
||||
EMAIL_RECIPIENTS:
|
||||
from_secret: EMAIL_RECIPIENTS
|
||||
EMAIL_HOST:
|
||||
from_secret: EMAIL_HOST
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
status:
|
||||
- failure
|
||||
branch:
|
||||
- master
|
||||
|
||||
services:
|
||||
- name: server
|
||||
image: nextcloudci/server:server-3
|
||||
|
|
Loading…
Reference in a new issue