This commit is contained in:
pompurin404 2024-09-25 20:39:38 +08:00
parent 571992106d
commit 15b219a773
No known key found for this signature in database
3 changed files with 6 additions and 6 deletions

View File

@ -229,10 +229,10 @@ jobs:
run: npm install -g pnpm run: npm install -g pnpm
- name: Build Latest - name: Build Latest
run: pnpm install && pnpm updater run: pnpm install && pnpm updater
- name: Telegram Notification # - name: Telegram Notification
env: # env:
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} # TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
run: pnpm telegram # run: pnpm telegram
- name: Publish Release - name: Publish Release
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
with: with:

View File

@ -1,6 +1,6 @@
{ {
"name": "mihomo-party", "name": "mihomo-party",
"version": "1.3.3", "version": "1.3.4",
"description": "Mihomo Party", "description": "Mihomo Party",
"main": "./out/main/index.js", "main": "./out/main/index.js",
"author": "mihomo-party", "author": "mihomo-party",

View File

@ -15,7 +15,7 @@ for (const line of changelog.split('\n')) {
} }
} }
axios.post(`https://api.telegram.org/bot${process.env.TELEGRAM_BOT_TOKEN}/sendMessage`, { axios.post(`https://api.telegram.org/bot${process.env.TELEGRAM_BOT_TOKEN}/sendMessage`, {
chat_id: '@mihomo_party_channel', chat_id: 2349280849,
text: content, text: content,
link_preview_options: { link_preview_options: {
is_disabled: false, is_disabled: false,