Skip to content

1.2.0

1.2.0 #2

name: Notify Slack on Release
on:
release:
types: [published]
permissions:
contents: read
jobs:
notify-release:
runs-on: ubuntu-latest
name: Notify Release
steps:
- name: Send to slack channels
uses: slackapi/slack-github-action@v2.0.0
with:
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
webhook-type: incoming-webhook
errors: true
payload: |
blocks:
- type: "header"
text:
type: "plain_text"
text: ":tada: Version ${{ github.event.release.name }} of the Vonage Native Android Video Reference App Just Released!"
- type: "section"
text:
type: "mrkdwn"
text: "${{ github.event.release.body }}"
- type: "divider"
- type: "section"
text:
type: "mrkdwn"
text: "You can view the full change log <${{ github.event.release.html_url }}|here>"