From 2c8b3bc840349b7aa074788dae8953d10b10b54e Mon Sep 17 00:00:00 2001 From: Alex Devera <55101298+AlexDevera@users.noreply.github.com> Date: Tue, 25 Feb 2025 10:32:43 +0300 Subject: [PATCH] 5 --- update-upgrade.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/update-upgrade.yml b/update-upgrade.yml index c7c230d..b7449d5 100644 --- a/update-upgrade.yml +++ b/update-upgrade.yml @@ -10,13 +10,14 @@ - name: Upgrade all packages to the latest version apt: upgrade: dist - + - name: Send notify to Telegram - community.general.telegram: - token: '5909855740:AAGLftkWmQl0XTLHLo1PcI87HHXoU7eEAGM' - data: - chat_id: 222227130 - parse_mode: "Markdown" - text: "Your precious application has been deployed: https://example.com" - disable_web_page_preview: true - disable_notification: true \ No newline at end of file + community.general.telegram: + token: '5909855740:AAGLftkWmQl0U7eEAGM' + api_method: "sendMessage" + api_args: + chat_id: 222227130 + parse_mode: "Markdown" + text: "Your precious application has been deployed: https://example.com" + disable_web_page_preview: true + disable_notification: true \ No newline at end of file