Add GitHub Action to check sending Telegram notifications

pull/123/head
Michele Locati 2020-02-22 19:26:47 +01:00
parent c58ecd5264
commit ab7424e25a
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
name: Test sending notifications
on:
repository_dispatch:
types:
- test-sample-notification
jobs:
send_sampe_notification:
name: Send sample notification
runs-on: ubuntu-latest
steps:
- name: Send
uses: appleboy/telegram-action@master
with:
token: ${{ secrets.TELEGRAM_TOKEN }}
to: ${{ secrets.TELEGRAM_TO }}
message: Sample notification from GitHub Action of https://github.com/mlocati/docker-php-extension-installer