feat: Remove telegram notification
Gitea now supports email notifications when builds fail.
This commit is contained in:
@@ -112,18 +112,3 @@ jobs:
|
||||
if: inputs.webhook_url != ''
|
||||
run: |
|
||||
curl ${{ inputs.webhook_url }} || true
|
||||
|
||||
- name: Notify build status
|
||||
if: failure()
|
||||
uses: appleboy/telegram-action@master
|
||||
with:
|
||||
to: ${{ secrets.TELEGRAM_TO }}
|
||||
token: ${{ secrets.TELEGRAM_TOKEN }}
|
||||
# TODO: Escaping issues need to be solved first
|
||||
# format: markdown
|
||||
message: |
|
||||
🚨 *BUILD FAILED!*
|
||||
${{ gitea.repository }} (#${{ gitea.run_number }})
|
||||
|
||||
[${{ gitea.ref_name }}@sha1:${{ gitea.sha }}]
|
||||
> ${{ gitea.event.head_commit.message }}
|
||||
|
||||
Reference in New Issue
Block a user