add gitea notification
All checks were successful
/ validate (push) Successful in 4s
/ build (push) Has been skipped

This commit is contained in:
Ludovic Cartier
2025-07-21 23:37:47 +02:00
parent 52da19f35c
commit 1f8c1ba91c

View File

@@ -111,3 +111,12 @@ jobs:
files: |- files: |-
bin/** bin/**
token: "${{ secrets.RELEASE_TOKEN }}" token: "${{ secrets.RELEASE_TOKEN }}"
- name: Send notification to mattermost
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.MATTERMOST_WEBHOOK }}
SLACK_USERNAME: gitea-bot
SLACK_CHANNEL: gitea-actions
SLACK_COLOR: ${{ job.status }}
SLACK_CUSTOM_PAYLOAD: '{"username": "gitea-bot", "icon_url": "https://w7.pngwing.com/pngs/940/571/png-transparent-gitea-hd-logo-thumbnail.png", "text": "varnish-exporter build has just finished in version $VERSION !"}'