Skip to content

Commit

Permalink
Update tg.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cmliu authored Jan 12, 2024
1 parent d4ac658 commit 998870e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/tg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,9 @@ jobs:
实际使用时请去掉<>符号
注意:您可以将此链接分享传播到任何地方😁"
wget -qO- "https://api.telegram.org/bot${{ secrets.TG_BOT_TOKEN }}/sendMessage?chat_id=${{ secrets.TG_TESTPD_ID }}&text=$message"
# wget -qO- "https://api.telegram.org/bot${{ secrets.TG_BOT_TOKEN }}/sendMessage?chat_id=${{ secrets.TG_TESTPD_ID }}&text=$message"
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" \
-d "chat_id=${{ secrets.TG_TESTPD_ID }}" \
-d "text=${message}" \
"https://api.telegram.org/bot${{ secrets.TG_BOT_TOKEN }}/sendMessage"

0 comments on commit 998870e

Please sign in to comment.