From 28d78e458f3d32362c86957a69c48a0d99db64c5 Mon Sep 17 00:00:00 2001 From: kha7iq Date: Fri, 4 Jun 2021 12:15:46 +0800 Subject: [PATCH] chore: change notification chanel to telegram --- .github/workflows/build.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 781b38a..41060a1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -66,10 +66,10 @@ jobs: 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 }}' + 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 }}' with: service: pushover @@ -78,9 +78,9 @@ jobs: 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 }}' + 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 }}' with: - service: pushover \ No newline at end of file + service: telegram \ No newline at end of file