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
    token:
      from_secret: ntfy_token

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

  • token

    stringoptional

    Token to publish/subscribe, instead to use username/password

    Secret recommended

    Default: none