Skip to content

Commit

Permalink
lunching telegram actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Figeral committed Apr 1, 2024
1 parent 91187ea commit 1dec1a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/source/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
def send_mgs():
token = "bot${{secrets.TELEGRAM_BOT_TOKEN}}"
url = f"https://api.telegram.org/{token}/sendMessage"
user_id = int("${{secrets.FITZ_ID}}")
user_id = ${{secrets.FITZ_ID}}
msg = "A ${{github.event.type}} made by ${{github.event.author}} , fille free to edit it at ${{github.repository.html_url}}"
payload = dict(chat_id=user_id, text=msg)
requests.post(url=url, params=payload)
Expand Down

0 comments on commit 1dec1a0

Please sign in to comment.