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