Skip to content

Commit

Permalink
add telegram notification
Browse files Browse the repository at this point in the history
  • Loading branch information
Kezii committed Aug 9, 2024
1 parent df01568 commit f31c71b
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/telegram.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: telegram

on:
push:
branches: [ master ]
release:
types:
- published
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Cache Docker images.
uses: ScribeMD/docker-cache@0.5.0
with:
key: docker-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
- uses: Kezii/telegram-github-action@master
env:
telegram_to: ${{ secrets.telegram_to }}
telegram_token: ${{ secrets.telegram_token }}
message_thread_id: ${{ secrets.telegram_message_thread_id }}
event: ${{ toJson(github.event) }}

0 comments on commit f31c71b

Please sign in to comment.