diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c29deda..5d89093 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -402,7 +402,9 @@ jobs: steps: - name: Send Telegram Notification uses: appleboy/telegram-action@master - if: ${{ secrets.TELEGRAM_BOT_TOKEN != '' }} + if: ${{ env.TELEGRAM_BOT_TOKEN != '' }} + env: + TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} with: to: ${{ secrets.TELEGRAM_CHAT_ID }} token: ${{ secrets.TELEGRAM_BOT_TOKEN }}