Skip to content

Create Github Release #15

Create Github Release

Create Github Release #15

Workflow file for this run

name: Create Github Release
on:
push:
tags:
- '**'
jobs:
create-github-release:
runs-on: ubuntu-latest
steps:
- name: Create Release
id: create_release
uses: chrimaeon/github-create-release-action@v2
env:
GITHUB_TOKEN: ${{ github.token }}
with:
tag_name: ${{ github.ref }}
- name: Notify Slack
uses: chrimaeon/github-slack-action@v1
with:
slack_token: ${{ secrets.SLACK_TOKEN }}
channel: ${{ secrets.SLACK_CHANNEL }}
text: "New draft release for ${{ github.repository }}"
blocks: |
[
{
"type": "header",
"text": {
"type": "plain_text",
"text": "New draft release for ${{ github.repository }}"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "*URL*\n${{ steps.create_release.outputs.html_url }}"
}
}
]