Skip to content

v1.30.0

v1.30.0 #68

Workflow file for this run

name: Notify Slack Channel
on:
release:
types: [created]
jobs:
deploy-tag:
name: Notify Slack
runs-on: ubuntu-latest
steps:
- name: Send message to Slack channel
id: slack
uses: slackapi/[email protected]
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
PROJECT_NAME: 'iOS SDK'
with:
channel-id: "${{ secrets.SLACK_RELEASE_CHANNEL_ID }}"
payload: |
{
"blocks": [
{
"type": "header",
"text": {
"type": "plain_text",
"text": "New release: ${{ env.PROJECT_NAME }}"
}
},
{
"type": "divider"
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "*Release: <${{ github.event.release.html_url }}|${{ github.event.release.tag_name }}>*"
}
}
]
}