Skip to content

Merge pull request #25 from Merctrans/fix/imp_refactor_code_fix_bug #23

Merge pull request #25 from Merctrans/fix/imp_refactor_code_fix_bug

Merge pull request #25 from Merctrans/fix/imp_refactor_code_fix_bug #23

Workflow file for this run

name: Notification
on:
push:
branches:
- main
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build and lint
run: |
echo "Build and lint"
- name: Notification Failure
if: failure()
uses: hunghg255/action-notifications@master
with:
telegram_bot_token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
telegram_chat_id: ${{ secrets.TELEGRAM_CHAT_ID }}
notifification:
needs: deploy
runs-on: ubuntu-latest
steps:
- name: Notification Success
uses: hunghg255/action-notifications@master
if: always()
with:
telegram_bot_token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
telegram_chat_id: ${{ secrets.TELEGRAM_CHAT_ID }}