From 6e4c0db81fc7765d98882a12448fa74d3c9a5667 Mon Sep 17 00:00:00 2001 From: Khaliq Date: Thu, 5 Aug 2021 14:30:22 +0800 Subject: [PATCH] fix: change notification to telegram --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 467af60..6bef758 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,7 +7,7 @@ on: # paths-ignore: # - '**.md' tags: - - 'v*.*.*' + - 'v0.[0-9]+.[0-9]' jobs: release-pingme: @@ -70,9 +70,9 @@ jobs: TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }} TELEGRAM_CHANNELS: ${{ secrets.TELEGRAM_CHANNELS }} 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: - service: pushover + service: telegram - name: Notify on success @@ -82,6 +82,6 @@ jobs: TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }} TELEGRAM_CHANNELS: ${{ secrets.TELEGRAM_CHANNELS }} 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: service: telegram \ No newline at end of file