add gitea publish and notify task to drone config

This commit is contained in:
Robert Kaussow 2019-02-09 23:31:01 +01:00
parent c5975e602d
commit da7dc64396

View File

@ -48,15 +48,33 @@ steps:
- push - push
- tag - tag
# - name: publish - name: publish
# image: plugins/gitea-release image: plugins/gitea-release
# settings: settings:
# api_key: api_key:
# from_secret: github_token from_secret: gitea_token
# files: files:
# - rpms/x86_64/* - rpms/x86_64/*
# - sha256sum.txt - sha256sum.txt
# title: $${DRONE_TAG} title: $${DRONE_TAG}
# when: when:
# event: event:
# - tag - tag
- name: notify
image: plugins/matrix
settings:
homeserver: https://matrix.rknet.org
roomid: MtidqQXWWAtQcByBhH:rknet.org
template: "Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}"
username:
from_secret: matrix_username
password:
from_secret: matrix_password
depends_on:
- ansible-latest
- ansible-master
when:
status:
- success
- failure