https://github.com/robiningelbrecht/ntfy-action
Send notifications to ntfy.sh using GitHub Action workflow
https://github.com/robiningelbrecht/ntfy-action
Last synced: 11 months ago
JSON representation
Send notifications to ntfy.sh using GitHub Action workflow
- Host: GitHub
- URL: https://github.com/robiningelbrecht/ntfy-action
- Owner: robiningelbrecht
- License: mit
- Created: 2023-07-17T09:36:55.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-01-26T12:30:18.000Z (over 2 years ago)
- Last Synced: 2025-03-06T18:32:01.995Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 224 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ntfy.sh action
Send notifications to ntfy.sh using GitHub Action workflow
## Inputs
### `url`
**Required** The ntfy server URL
### `topic`
**Required** The ntfy topic
### `icon`
**Required** URL to an icon to display in the notification
### `job_status`
**Required** The job status. Should always be `${{ job.status }}`, except if you want to force a status.
## Example usage
```yaml
uses: robiningelbrecht/ntfy-action@v1.0.0
if: always()
with:
url: ${{ secrets.NTFY_URL }}
topic: ${{ secrets.NTFY_TOPIC }}
icon: 'https://github.githubassets.com/images/modules/profile/achievements/starstruck-default.png'
job_status: ${{ job.status }}
```