We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f002d79 commit cb7bae4Copy full SHA for cb7bae4
.github/workflows/release.yml
@@ -3,7 +3,7 @@ name: Notify Latest Release
3
on:
4
schedule:
5
- cron: '*/5 * * * *' # каждые 5 минут
6
- workflow_dispatch: # чтобы можно было запускать вручную
+ workflow_dispatch:
7
8
jobs:
9
notify_latest:
@@ -22,10 +22,10 @@ jobs:
22
return release.data;
23
24
- name: Send Telegram message
25
- uses: appleboy/telegram-action@v0.4.2
+ uses: appleboy/telegram-action@v1.0.1
26
with:
27
- token: ${{ secrets.TG_BOT_TOKEN }}
28
- chat_id: ${{ secrets.TG_CHAT_ID }}
+ token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
+ to: ${{ secrets.TELEGRAM_CHAT_ID }}
29
message: |
30
📢 Новый релиз!
31
Название: ${{ steps.get_release.outputs.result.name }}
0 commit comments