Skip to content

Commit ddd9c45

Browse files
committed
fix: add Telegram environment variables for message sending in build workflow
1 parent 87815d0 commit ddd9c45

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ jobs:
1010

1111
steps:
1212
- name: Send start message to Telegram
13+
env:
14+
TELEGRAM_TOKEN: ${{ secrets.BOT_TOKEN }}
15+
TELEGRAM_CHAT_ID: ${{ secrets.CHAT_ID }}
1316
run: |
1417
MESSAGE="Build started for commit ${{ github.sha }}
1518
Commit message: ${{ github.event.head_commit.message }}"
@@ -67,6 +70,9 @@ jobs:
6770
# mv app-universal-release.apk Tech_Triangle-nightly-universal.apk
6871

6972
- name: Send message to Telegram
73+
env:
74+
TELEGRAM_TOKEN: ${{ secrets.BOT_TOKEN }}
75+
TELEGRAM_CHAT_ID: ${{ secrets.CHAT_ID }}
7076
run: |
7177
MESSAGE="${{ github.event.head_commit.message }}"
7278
curl -s -X POST "https://api.telegram.org/bot${TELEGRAM_TOKEN}/sendMessage" \

0 commit comments

Comments
 (0)