Skip to content

Commit

Permalink
feat(cd): slack notification on release (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
matoous authored Feb 19, 2025
1 parent c21fd37 commit 139890b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/notification.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on:
release:
types: [published]

permissions:
contents: read

jobs:
notify:
name: Notify
runs-on: ubuntu-latest
steps:
- name: Send release notification
uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0
with:
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
webhook-type: webhook-trigger
payload: |
repo: "${{ github.repository }}"
url: "${{ github.event.release.html_url }}"
version: "${{ github.event.release.tag_name }}"

0 comments on commit 139890b

Please sign in to comment.