Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |