Skip to content

Commit

Permalink
fix release notification (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
vultj committed Jun 10, 2024
2 parents 26b46a3 + c478fcd commit c62a70c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,10 +253,9 @@ jobs:
needs: ["goreleaser", "create-tag"]
name: Release Notification
steps:
- run: |
echo "{\"text\":\"slinkee : Release https://github.com/${{ github.repository }}/releases/tag/${{ needs.create-tag.outputs.new_tag }} \"}" > mattermost.json
- uses: mattermost/action-mattermost-notify@master
env:
- uses: mattermost/[email protected]
with:
MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
MATTERMOST_USERNAME: ${{ secrets.MATTERMOST_USERNAME}}
MATTERMOST_ICON: ${{ secrets.MATTERMOST_ICON }}
MATTERMOST_ICON_URL: ${{ secrets.MATTERMOST_ICON }}
TEXT: "${{ github.repository }} : Release https://github.com/${{ github.repository }}/releases/tag/${{ needs.create-tag.outputs.new_tag }}"

0 comments on commit c62a70c

Please sign in to comment.