Skip to content

Commit

Permalink
Merge pull request mellow-finance#12 from mellow-finance/notification…
Browse files Browse the repository at this point in the history
…s/all

added notifications
  • Loading branch information
alexeuler authored Aug 17, 2022
2 parents d270e03 + 473cec9 commit 85a6058
Showing 1 changed file with 3 additions and 31 deletions.
34 changes: 3 additions & 31 deletions .github/workflows/notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,38 +6,10 @@ jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Notify chat 1
- name: Notify chat
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_CHAT_1 }}
to: ${{ secrets.TELEGRAM_NOTIFICATIONS_CHAT_ID }}
token: ${{ secrets.TELEGRAM_API_KEY }}
message: |
⚡️ ${{ github.actor }} pushed `${{ github.event.head_commit.message }}` (https://github.com/${{ github.repository }}/commit/${{ github.sha }}) to branch ${{ github.ref }}
- name: Notify chat 2
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_CHAT_2 }}
token: ${{ secrets.TELEGRAM_API_KEY }}
message: |
⚡️ ${{ github.actor }} pushed `${{ github.event.head_commit.message }}` (https://github.com/${{ github.repository }}/commit/${{ github.sha }}) to branch ${{ github.ref }}
- name: Notify chat 3
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_CHAT_3 }}
token: ${{ secrets.TELEGRAM_API_KEY }}
message: |
⚡️ ${{ github.actor }} pushed `${{ github.event.head_commit.message }}` (https://github.com/${{ github.repository }}/commit/${{ github.sha }}) to branch ${{ github.ref }}
- name: Notify chat 4
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_CHAT_4 }}
token: ${{ secrets.TELEGRAM_API_KEY }}
message: |
⚡️ ${{ github.actor }} pushed `${{ github.event.head_commit.message }}` (https://github.com/${{ github.repository }}/commit/${{ github.sha }}) to branch ${{ github.ref }}
- name: Notify chat 5
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_CHAT_5 }}
token: ${{ secrets.TELEGRAM_API_KEY }}
message: |
⚡️ ${{ github.actor }} pushed `${{ github.event.head_commit.message }}` (https://github.com/${{ github.repository }}/commit/${{ github.sha }}) to branch ${{ github.ref }}
⚡️ ${{ github.actor }} pushed `${{ github.event.head_commit.message }}` (https://github.com/${{ github.repository }}/commit/${{ github.sha }}) to branch ${{ github.ref }}

0 comments on commit 85a6058

Please sign in to comment.