Skip to content

♻️ refactor: updated codebase #4 #1

♻️ refactor: updated codebase #4

♻️ refactor: updated codebase #4 #1

Workflow file for this run

name: Notify
on:
push:
branches:
- developer
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
notify:
runs-on: ubuntu-latest
needs: build
if: secrets.TELEGRAM_BOT_TOKEN != '' && secrets.TELEGRAM_CHAT_ID != ''

Check failure on line 18 in .github/workflows/ci_notify.yml

View workflow run for this annotation

GitHub Actions / Notify

Invalid workflow file

The workflow is not valid. .github/workflows/ci_notify.yml (Line: 18, Col: 9): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.TELEGRAM_BOT_TOKEN != '' && secrets.TELEGRAM_CHAT_ID != ''
steps:
- name: Send Telegram Notification
uses: appleboy/telegram-action@v0.2.0
with:
to: ${{ secrets.TELEGRAM_CHAT_ID }}
token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
message: |
🚀 New commit pushed to `developer` branch of repository: **${{ github.repository }}**
**Commit Hash:** `${{ github.sha }}`
**Commit Message:** ${{ github.event.head_commit.message }}