mirror of
https://github.com/GyverLibs/GyverMotor2.git
synced 2026-06-05 14:47:00 +03:00
create workflow
This commit is contained in:
@@ -0,0 +1,20 @@
|
|||||||
|
|
||||||
|
name: Telegram Message
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Send Message
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: send telegram message on push
|
||||||
|
uses: appleboy/telegram-action@master
|
||||||
|
with:
|
||||||
|
to: ${{ secrets.TELEGRAM_TO }}
|
||||||
|
token: ${{ secrets.TELEGRAM_TOKEN }}
|
||||||
|
disable_web_page_preview: true
|
||||||
|
message: |
|
||||||
|
${{ github.event.repository.name }} v${{ github.event.release.tag_name }}
|
||||||
|
${{ github.event.release.body }}
|
||||||
|
https://github.com/${{ github.repository }}
|
||||||
Reference in New Issue
Block a user