Skip to content

Commit 10bada2

Browse files
authored
curl
1 parent 7a7b1d4 commit 10bada2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ jobs:
6565
GITHUB_REPOSITORY: ${{ github.repository }}
6666
- if: failure()
6767
run: cat notify.log
68+
- if: failure()
69+
run: curl -s -X POST https://api.telegram.org/bot${{ secrets.TELEGRAM_TOKEN }}/sendMessage" -d chat_id=${{ secrets.TELEGRAM_TO }} -d text="$(cat notify.log)"
6870
- name: Notify via Telegram build errors if any
6971
if: failure()
7072
uses: appleboy/telegram-action@master

0 commit comments

Comments
 (0)