Skip to content

Commit b61dc41

Browse files
committed
Add Telegram notification on push
1 parent 7d8a24e commit b61dc41

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,20 @@ jobs:
4848
- name: Build Android Release
4949
run: cd android && ./gradlew assembleRelease
5050

51+
- name: send telegram message on push
52+
uses: appleboy/telegram-action@master
53+
with:
54+
to: ${{ secrets.TELEGRAM_TO }}
55+
token: ${{ secrets.TELEGRAM_TOKEN }}
56+
message_file: android/app/build/outputs/apk/release/Tech_Triangle-arm64-v8a.apk
57+
message: |
58+
${{ github.actor }} created commit:
59+
Commit message: ${{ github.event.commits[0].message }}
60+
61+
Repository: ${{ github.repository }}
62+
63+
See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}}
64+
5165
- name: Upload Artifact
5266
uses: actions/upload-artifact@v4
5367
with:

0 commit comments

Comments
 (0)