Skip to content
This repository has been archived by the owner on Feb 20, 2022. It is now read-only.

Commit

Permalink
Merge pull request #130 from OpenCSPM/build
Browse files Browse the repository at this point in the history
release notification to slack
  • Loading branch information
joshlarsen authored Feb 15, 2021
2 parents 9ca69f5 + 0210134 commit 45b1235
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/release-notification.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: release-notification

on:
release:
types: [published]

jobs:
release-notification:
runs-on: ubuntu-20.04
steps:
- name: Send Slack Message
run: |
curl -X POST -H 'Content-type: application/json' --data '{"text":"New OpenCSPM release: ${{ github.event.release.tag_name }} - https://github.com/opencspm/opencspm/releases/tag/${{ github.event.release.tag_name }}"}' ${{ secrets.SLACK_WEBHOOK_URL }}

0 comments on commit 45b1235

Please sign in to comment.