mirror of
https://github.com/egor-white/zaprett.git
synced 2025-12-11 13:59:43 +05:00
update workflow
This commit is contained in:
13
.github/workflows/workflow.yml
vendored
13
.github/workflows/workflow.yml
vendored
@@ -171,10 +171,17 @@ jobs:
|
||||
with:
|
||||
commit_message: "Update update's.json and changelog"
|
||||
file_pattern: 'update.json update_extended.json update_tv.json changelog.md'
|
||||
- name: Send bot post
|
||||
run: |
|
||||
- name: Send bot post
|
||||
env:
|
||||
MESSAGE_TEXT: |
|
||||
🔄 <b>Обновление модуля</b> ${{ inputs.version }}
|
||||
|
||||
📋 Изменения: ${{ inputs.release_changes }}
|
||||
|
||||
⬇️ <a href='https://github.com/egor-white/zaprett/releases/tag/${{ inputs.tag }}'>Скачать</a>
|
||||
run: |
|
||||
curl -X POST "https://api.telegram.org/bot${{ secrets.BOT_TOKEN }}/sendMessage" \
|
||||
-d chat_id=1446986479 \
|
||||
-d parse_mode=HTML \
|
||||
-d disable_web_page_preview=true \
|
||||
--data-urlencode "text=🔄 <b>Обновление модуля</b> ${{ inputs.version }}\n\n📋 Изменения: ${{ inputs.release_changes }}\n\n⬇️ <a href='https://github.com/egor-white/zaprett/releases/tag/${{ inputs.tag }}'>Скачать</a>"
|
||||
--data-urlencode "text=$MESSAGE_TEXT"
|
||||
|
||||
Reference in New Issue
Block a user