Skip to content

Update tele.yml 0.4d #9

Update tele.yml 0.4d

Update tele.yml 0.4d #9

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: hglong16/action-notifications@master
with:
telegram_bot_token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
telegram_chat_id: ${{ secrets.TELEGRAM_CHAT_ID }}
telegram_message_thread_id: ${{ secrets.TELEGRAM_MESSAGE_THREAD_ID }}
notifification:
needs: deploy
runs-on: ubuntu-latest
steps:
- name: Notification Success
uses: hglong16/[email protected]
if: always()
with:
telegram_bot_token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
telegram_chat_id: ${{ secrets.TELEGRAM_CHAT_ID }}
telegram_message_thread_id: ${{ secrets.TELEGRAM_MESSAGE_THREAD_ID }}