diff --git a/.gitea/workflows/job_notify.yml b/.gitea/workflows/job_notify.yml new file mode 100644 index 0000000..710fead --- /dev/null +++ b/.gitea/workflows/job_notify.yml @@ -0,0 +1,17 @@ +name: notify +on: [push] +jobs: + notify: + name: notify + runs-on: ubuntu-latest + steps: + - name: send + uses: appleboy/telegram-action@master + with: + to: ${{ secrets.TELEGRAM_TO }} + token: ${{ secrets.TELEGRAM_TOKEN }} + message: | + New commit by ${{ github.actor }}: + Commit: ${{ github.event.commits[0].message }} + Repository: ${{ github.repository }} + Changes: https://git.unistack.org/${{ github.repository }}/commit/${{github.sha}} \ No newline at end of file