Skip to content

Commit

Permalink
1.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
pompurin404 committed Sep 25, 2024
1 parent 807e9b6 commit e35be65
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mihomo-party",
"version": "1.3.3",
"version": "1.3.4",
"description": "Mihomo Party",
"main": "./out/main/index.js",
"author": "mihomo-party",
Expand Down
2 changes: 1 addition & 1 deletion scripts/telegram.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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: '@mihomo_party_channel',
chat_id: 2349280849,
text: content,
link_preview_options: {
is_disabled: false,
Expand Down

0 comments on commit e35be65

Please sign in to comment.