mirror of
https://github.com/kha7iq/pingme.git
synced 2025-05-15 22:30:11 -07:00
fix: change notification to telegram
This commit is contained in:
parent
03e380461f
commit
6e4c0db81f
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -7,7 +7,7 @@ on:
|
|||||||
# paths-ignore:
|
# paths-ignore:
|
||||||
# - '**.md'
|
# - '**.md'
|
||||||
tags:
|
tags:
|
||||||
- 'v*.*.*'
|
- 'v0.[0-9]+.[0-9]'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release-pingme:
|
release-pingme:
|
||||||
@ -70,9 +70,9 @@ jobs:
|
|||||||
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }}
|
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }}
|
||||||
TELEGRAM_CHANNELS: ${{ secrets.TELEGRAM_CHANNELS }}
|
TELEGRAM_CHANNELS: ${{ secrets.TELEGRAM_CHANNELS }}
|
||||||
TELEGRAM_TITLE: '🟢 New Release: ${{ github.ref }}'
|
TELEGRAM_TITLE: '🟢 New Release: ${{ github.ref }}'
|
||||||
TELEGRAM_MESSAGE: 'Event is triggerd by ${{ github.event_name }} ❌ ${{ job.status }}'
|
TELEGRAM_MESSAGE: 'Event is triggered by ${{ github.event_name }} ❌ ${{ job.status }}'
|
||||||
with:
|
with:
|
||||||
service: pushover
|
service: telegram
|
||||||
|
|
||||||
-
|
-
|
||||||
name: Notify on success
|
name: Notify on success
|
||||||
@ -82,6 +82,6 @@ jobs:
|
|||||||
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }}
|
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }}
|
||||||
TELEGRAM_CHANNELS: ${{ secrets.TELEGRAM_CHANNELS }}
|
TELEGRAM_CHANNELS: ${{ secrets.TELEGRAM_CHANNELS }}
|
||||||
TELEGRAM_TITLE: '🟢 New Release: ${{ github.ref }}'
|
TELEGRAM_TITLE: '🟢 New Release: ${{ github.ref }}'
|
||||||
TELEGRAM_MESSAGE: 'Event is triggerd by ${{ github.event_name }} ✅ ${{ job.status }}'
|
TELEGRAM_MESSAGE: 'Event is triggered by ${{ github.event_name }} ✅ ${{ job.status }}'
|
||||||
with:
|
with:
|
||||||
service: telegram
|
service: telegram
|
Loading…
x
Reference in New Issue
Block a user