Skip to content

Delete [github/workflows] #4

Delete [github/workflows]

Delete [github/workflows] #4

Workflow file for this run

name: Notify Telegram on Release
on:
release:
types: [published]
jobs:
notify-telegram:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Install PHP (default on Ubuntu)
- name: Send release notification to Telegram
env:
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
RELEASE_NAME: ${{ github.event.release.name }}
RELEASE_TAG: ${{ github.event.release.tag_name }}
RELEASE_BODY: ${{ github.event.release.body }}
GITHUB_REPOSITORY: ${{ github.repository }}
run: php webhook.php