mirror of
https://github.com/kha7iq/pingme.git
synced 2025-05-16 14:50:18 -07:00
chore: add pushover alerts
This commit is contained in:
parent
fe0840a055
commit
1d8a14e7d3
26
.github/workflows/build.yml
vendored
26
.github/workflows/build.yml
vendored
@ -59,4 +59,28 @@ jobs:
|
|||||||
version: latest
|
version: latest
|
||||||
args: release --rm-dist
|
args: release --rm-dist
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||||
|
|
||||||
|
-
|
||||||
|
name: Notify on failure
|
||||||
|
uses: kha7iq/pingme-action@v1
|
||||||
|
if: failure()
|
||||||
|
env:
|
||||||
|
PUSHOVER_TOKEN: ${{ secrets.PUSHOVER_TOKEN }}
|
||||||
|
PUSHOVER_USER: ${{ secrets.PUSHOVER_USER }}
|
||||||
|
PUSHOVER_TITLE: '🟢 New Release: ${{ github.ref }}'
|
||||||
|
PUSHOVER_MESSAGE: 'Event is triggerd by ${{ github.event_name }} ❌ ${{ job.status }}'
|
||||||
|
with:
|
||||||
|
service: pushover
|
||||||
|
|
||||||
|
-
|
||||||
|
name: Notify on success
|
||||||
|
uses: kha7iq/pingme-action@v1
|
||||||
|
if: success()
|
||||||
|
env:
|
||||||
|
PUSHOVER_TOKEN: ${{ secrets.PUSHOVER_TOKEN }}
|
||||||
|
PUSHOVER_USER: ${{ secrets.PUSHOVER_USER }}
|
||||||
|
PUSHOVER_TITLE: '🟢 New Release: ${{ github.ref }}'
|
||||||
|
PUSHOVER_MESSAGE: 'Event is triggerd by ${{ github.event_name }} ✅ ${{ job.status }}'
|
||||||
|
with:
|
||||||
|
service: pushover
|
Loading…
x
Reference in New Issue
Block a user