update workflow

This commit is contained in:
egor-white
2025-06-14 17:50:23 +03:00
parent 57b0b820f7
commit 114dc16ffd

View File

@@ -172,12 +172,13 @@ jobs:
commit_message: "Update update's.json and changelog" commit_message: "Update update's.json and changelog"
file_pattern: 'update.json update_extended.json update_tv.json changelog.md' file_pattern: 'update.json update_extended.json update_tv.json changelog.md'
- name: Send bot post - name: Send bot post
run: | run: |
curl -X POST "https://api.telegram.org/bot***/sendMessage" \ curl -X POST "https://api.telegram.org/bot${{ secrets.BOT_TOKEN }}/sendMessage" \
-d chat_id=1446986479 \ -d chat_id=1446986479 \
-d parse_mode=HTML \ -d parse_mode=HTML \
--data-urlencode "text=🔄 <b>Обновление модуля</b> {{ inputs.version }} -d disable_web_page_preview=true \
--data-urlencode "text=🔄 <b>Обновление модуля</b> ${{ inputs.version }}
📋 Изменения: {{ input.release_changes}} 📋 Изменения: ${{ inputs.release_changes }}
⬇️ <a href='https://github.com/egor-white/zaprett/releases/tag/${{ inputs.tag }}'>Скачать</a>" ⬇️ <a href='https://github.com/egor-white/zaprett/releases/tag/${{ inputs.tag }}'>Скачать</a>"