Drone plugins > Gotify
gotify.svg

Gotify

by dipievil


A Gotify plugin to send messages to your Gotify server.

Example

kind: pipeline
name: default

steps:
- name: send-gotify-notification
  image: dipievil/drone-gotify
  settings:
    url: https://gotify.example.com
    token:
      from_secret: gotify_token
    title: "Drone Build #{{build.number}}"
    message: "The build {{build.status}} on branch {{commit.branch}}."
    markdown: true
    click_url: "{{build.link}}"

Properties

  • url

    stringrequired

    URL for Gotify server

    Default: none

  • token

    stringrequired

    App token to authenticate with Gotify

    Secret recommended

    Default: none

  • title

    stringoptional

    Title for the message. Evaluates template variables.

    Default: Drone CI

  • message

    stringoptional

    Body for the message. Evaluates template variables. By default it generates a standard notification summary.

    Default: none

  • priority

    numberoptional

    Priority of the message, defaults to 5.

    Default: 5

  • markdown

    booleanoptional

    Set to true to include the client display extra indicating the message is formatted as Markdown text.

    Default: false

  • click_url

    stringoptional

    Provides a click url within the client notification extras map.

    Default: none