Skip to content

v1.3.0

v1.3.0 #3

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/slack-github-action@v1.27.0
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
PROJECT_NAME: 'iOS CustomerIO 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 }}>*"
}
}
]
}