mirror of
https://github.com/tornadocash/provider.git
synced 2024-11-25 02:51:18 +01:00
add telegram notification
This commit is contained in:
parent
fd15df068d
commit
eee0c9f9d2
16
.github/workflows/build.yml
vendored
Normal file
16
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
name: build
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set short SHA
|
||||
id: vars
|
||||
run: echo "::set-output name=sha_short::$(echo ${GITHUB_SHA:0:7})"
|
||||
- name: Telegram Notification
|
||||
uses: appleboy/telegram-action@0.0.7
|
||||
with:
|
||||
message: ${{ env.GITHUB_ACTOR }} just pushed commit a [${{ steps.vars.outputs.sha_short }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }}) to [${{ steps.vars.outputs.repo_name }}](https://github.com/${{ github.repository }})
|
||||
format: markdown
|
||||
to: ${{ secrets.TELEGRAM_CHAT_ID }}
|
||||
token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
Loading…
Reference in New Issue
Block a user