We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a7b1d4 commit 10bada2Copy full SHA for 10bada2
.github/workflows/build.yml
@@ -65,6 +65,8 @@ jobs:
65
GITHUB_REPOSITORY: ${{ github.repository }}
66
- if: failure()
67
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)"
70
- name: Notify via Telegram build errors if any
71
if: failure()
72
uses: appleboy/telegram-action@master
0 commit comments