diff --git a/.github/workflows/tg.yml b/.github/workflows/tg.yml index 6e0d3751df..62c005dce9 100644 --- a/.github/workflows/tg.yml +++ b/.github/workflows/tg.yml @@ -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" +