action-notify-ntfy/action.yml

25 lines
677 B
YAML
Raw Permalink Normal View History

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
status:
2024-04-29 21:20:38 +00:00
description: 'Job status. Use expression {{ job.status }} for most cases'
required: true
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:
- ${{ inputs.status }}