chore: add pushover alerts

pull/33/head
kha7iq 4 years ago
parent fe0840a055
commit 1d8a14e7d3

@ -60,3 +60,27 @@ jobs:
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…
Cancel
Save