From ab7424e25a894174b5789d9cbe1e7822de5caf3c Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Sat, 22 Feb 2020 19:26:47 +0100 Subject: [PATCH] Add GitHub Action to check sending Telegram notifications --- .../workflows/test-sending-notifications.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/test-sending-notifications.yml diff --git a/.github/workflows/test-sending-notifications.yml b/.github/workflows/test-sending-notifications.yml new file mode 100644 index 0000000..340cc48 --- /dev/null +++ b/.github/workflows/test-sending-notifications.yml @@ -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