Skip to content
name: Send message to Slack when a release is published
on:
release:
types: [published]
jobs:
slack-send:
name: Send message to Slack
runs-on: ubuntu-latest
steps:
- id: slack
uses: slackapi/[email protected]
with:
# This data can be any valid JSON from a previous step in the GitHub Action
payload: |
{
"release": "${{ github.event.release.tag_name }} - ${{ github.event.release.html_url }} is going live now!"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_ASK_C8_DOCUMENTATION }}