Skip to content

Commit

Permalink
ci: add release notification (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
usamabintariq authored Mar 22, 2024
1 parent 0bf6081 commit c2c56f8
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/release-notification.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Release Notification

on:
release:
types: [released]

jobs:
send-slack-notification:
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- name: Send slack notification
id: slack
uses: slackapi/[email protected]
with:
channel-id: 'C012YFE3D6D'
slack-message: "unirest-php release has been triggered!"
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}

0 comments on commit c2c56f8

Please sign in to comment.