diff --git a/.github/workflows/telegram-push.yml b/.github/workflows/telegram-push.yml new file mode 100644 index 0000000..c3282bc --- /dev/null +++ b/.github/workflows/telegram-push.yml @@ -0,0 +1,20 @@ +name: Telegram Notification Push + +on: + push + +jobs: + bulid: + name: Build + runs-on: ubuntu-latest + steps: + - name: send message on push + uses: appleboy/telegram-action@master + with: + to: ${{ secrets.GROUP_ID }} + token: ${{ secrets.TELEGRAM_TOKEN }} + message: | + ${{ github.actor }} created commit: + Commit message: ${{ github.event.commits[0].message }} + + https://github.com/${{ github.repository }}/commit/${{github.sha}}