Drone plugins > Gitea Message
Drone plugin to send message as comments to Gitea pull requests. The plugin support sending text as well as some file's content. By setting the delete_identifier, all older comments with the same identifier will be deleted before sending the message.
Example
kind: pipeline
name: default
steps:
- name: send test report to pr
image: jozott/drone-gitea-message:v0.2.0
settings:
api_key:
from_secret: gitea_token
base_url: http://gitea.example.com
message_file: build/test/report.md
delete_identifier: test-report-delete-id
Properties
api_key
stringrequiredgitea server api token
Secret recommendedDefault: none
base_url
stringrequiredthe url of the gitea installation
Default: none
message_text
stringoptionalthe content of the message (must be set if message_file is not)
Default: none
message_file
stringoptionalthe file with content for the message (must be set if message_text is not)
Default: none
delete_identifier
stringoptionalthe identifier to delete previous messages in the pull request before sending new one
Default: none