Skip to content

Commit

Permalink
test: workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
techmovie committed Oct 22, 2024
1 parent 678f152 commit f5d24e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/telegram-channel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:
const text = process.env.tgMsg
const response = await fetch('https://api.telegram.org/bot${{secrets.TG_BOT_TOKEN}}/sendMessage',{
method: "POST",
body: {
body: JSON.stringify({
"chat_id": "-1001343736144",
text,
"parse_mode": "HTML"
}
})
})
console.log(process.env.tgMsg);
console.log(process.env.tgMsg)
const result = await response.json();
if(!response.ok){
core.setFailed(result.description);
Expand Down

0 comments on commit f5d24e9

Please sign in to comment.