drone-ntfy

command module
v0.0.0-...-7126a50 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2023 License: BlueOak-1.0.0 Imports: 3 Imported by: 0

README

A drone plugin to send build status messages to your selected ntfy server.

Usage

Below is an example .drone.yml that uses this plugin.

kind: pipeline
name: default

steps:
- name: ntfy notification
  image: monster010/drone-ntfy
  pull: if-not-exists
  when:
    status: [success, failure]
  settings:
    url: https://ntfy.example.org
    topic: events
    priority: high
    tags:
      - pipeline-status
      - dev
    token:
      from_secret: ntfy_token

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

token string [optional]
[SECRET RECOMMENDED]
Token to use, instead username and password.

Default: none

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL