Drone CI Plugin. Notify events via Ntfy.sh
Find a file
parra dc2ab0dcd0
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is failing
Load configs
2023-02-23 18:53:43 +01:00
cmd/drone-ntfy Load configs 2023-02-23 18:53:43 +01:00
.drone.yml Migrate script to Go 2023-02-23 16:35:03 +01:00
.gitignore Load configs 2023-02-23 18:53:43 +01:00
Dockerfile Initial commit 2023-02-09 17:06:27 +01:00
go.mod Migrate script to Go 2023-02-23 16:35:03 +01:00
go.sum Migrate script to Go 2023-02-23 16:35:03 +01:00
README.md Create simple script to notify via Ntfy 2023-02-09 20:56:02 +01:00
script.sh Create simple script to notify via Ntfy 2023-02-09 20:56:02 +01:00

Drone Ntfy plugin

Build Status

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 string [optional]
Ntfy server.

Default: https://ntfy.sh

topic string [REQUIRED]
Topic to publish message.

Default: none

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

Default: default

tags string [optional]
Custom tags to include.

Default: none

username string [optional]
Username with publish permissions.

Default: none

password string [optional]
[SECRET RECOMMENDED]
Password for username.

Default: none