mirror of
https://github.com/pompurin404/mihomo-party.git
synced 2024-11-16 11:42:19 +08:00
fix notify
This commit is contained in:
parent
15b219a773
commit
a22e92b1b5
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
@ -229,10 +229,10 @@ jobs:
|
|||
run: npm install -g pnpm
|
||||
- name: Build Latest
|
||||
run: pnpm install && pnpm updater
|
||||
# - name: Telegram Notification
|
||||
# env:
|
||||
# TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
||||
# run: pnpm telegram
|
||||
- name: Telegram Notification
|
||||
env:
|
||||
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
||||
run: pnpm telegram
|
||||
- name: Publish Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
|
|
|
@ -15,7 +15,7 @@ for (const line of changelog.split('\n')) {
|
|||
}
|
||||
}
|
||||
axios.post(`https://api.telegram.org/bot${process.env.TELEGRAM_BOT_TOKEN}/sendMessage`, {
|
||||
chat_id: 2349280849,
|
||||
chat_id: '@mihomo_party_group',
|
||||
text: content,
|
||||
link_preview_options: {
|
||||
is_disabled: false,
|
||||
|
|
Loading…
Reference in New Issue
Block a user