fix: change notification to telegram

pull/63/head
Khaliq 3 years ago
parent 03e380461f
commit 6e4c0db81f

@ -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…
Cancel
Save