-
Notifications
You must be signed in to change notification settings - Fork 35
36 lines (35 loc) · 1.23 KB
/
notifications.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Release notifications
on:
push:
tags:
- "v*.*.*"
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
- name: Telegram notification
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
message: |
TzKT ${{ env.RELEASE_VERSION }} has been released 😻
Docker images will be available in a few minutes.
More info at https://github.com/baking-bad/tzkt/releases/tag/${{ env.RELEASE_VERSION }}
- name: Slack notification
uses: Ilshidur/action-slack@master
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
with:
args: |
TzKT ${{ env.RELEASE_VERSION }} has been released 😻
Docker images will be available in a few minutes.
More info at https://github.com/baking-bad/tzkt/releases/tag/${{ env.RELEASE_VERSION }}