2023-03-27 21:25:16 +00:00
|
|
|
name: 'Ntfy notification'
|
|
|
|
description: 'Notifies job status via ntfy'
|
|
|
|
author: 'lobo'
|
|
|
|
inputs:
|
|
|
|
host:
|
|
|
|
description: 'Ntfy host'
|
|
|
|
required: true
|
|
|
|
topic:
|
|
|
|
description: 'Ntfy topic'
|
|
|
|
required: true
|
2023-03-27 21:34:22 +00:00
|
|
|
# status:
|
|
|
|
# description: 'Job status. Use ${{ job.status }} for most cases'
|
|
|
|
# required: true
|
|
|
|
# default: '${{ job.status }}'
|
2023-03-27 21:25:16 +00:00
|
|
|
user:
|
|
|
|
description: 'Username for ntfy server'
|
|
|
|
required: true # should be false, but we'll do authenticated sessions only for now
|
|
|
|
password:
|
|
|
|
description: 'Password for ntfy server'
|
|
|
|
required: true # should be false, but we'll do authenticated sessions only for now
|
|
|
|
runs:
|
|
|
|
using: 'docker'
|
|
|
|
image: 'Dockerfile'
|
2023-03-27 21:34:22 +00:00
|
|
|
args:
|
|
|
|
- ${{ job.status }}
|