add gitea notification
This commit is contained in:
@@ -111,3 +111,12 @@ jobs:
|
||||
files: |-
|
||||
bin/**
|
||||
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 !"}'
|
||||
|
Reference in New Issue
Block a user