Skip to content

Push 3.11.0 notification manually #13

Push 3.11.0 notification manually

Push 3.11.0 notification manually #13

Workflow file for this run

name: Release
on:
push:
tags:
- '*.*.0'
branches:
- tmp/push-notification
jobs:
build:
name: Build
runs-on: ubuntu-latest
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
steps:
- uses: actions/checkout@master
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
changelog:
- 'CHANGELOG.md'
- name: Set env
run: echo "RELEASE_VERSION=3.11.0" >> $GITHUB_ENV
- name: telegram notification
# if: steps.filter.outputs.changelog == 'true'
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
message: |
Pytezos ${{ env.RELEASE_VERSION }} has been released πŸŽ‰
More info at https://github.com/baking-bad/pytezos/releases/tag/${{ env.RELEASE_VERSION }}
- name: slack notification
# if: steps.filter.outputs.changelog == 'true'
uses: Ilshidur/action-slack@master
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
with:
args: |
Pytezos ${{ env.RELEASE_VERSION }} has been released πŸŽ‰
More info at https://github.com/baking-bad/pytezos/releases/tag/${{ env.RELEASE_VERSION }}