ntfy.svg

Ntfy

by parra


The Ntfy.sh plugin posts build status messages to your selected Ntfy server.

Example

kind: pipeline
name: default

steps:
- name: send ntfy notification
  image: parrazam/drone-ntfy
  when:
      status: [success, failure]
  settings:
    url: https://ntfy.example.org
    topic: events
    priority: low
    tags: 
      - pipeline-status
      - dev
    username:
      from_secret: ntfy_user
    password:
      from_secret: ntfy_password

Properties

  • url

    stringoptional

    Ntfy server. If empty, default one will be https://ntfy.sh

    Default: none

  • topic

    stringrequired

    Topic to publish message

    Default: none

  • priority

    stringoptional

    Priority of the notification. Values can be [min, low, default, high, max]

    Default: default

  • tags

    stringoptional

    Custom tags of the notification.

    Default: none

  • username

    stringoptional

    Username with publish permissions

    Default: none

  • password

    stringoptional

    Password for username

    Secret recommended

    Default: none