Skip to content

Remove the filesystem class documentation, because it is deprecated. … #22

Remove the filesystem class documentation, because it is deprecated. …

Remove the filesystem class documentation, because it is deprecated. … #22

name: Notify Telegram on Push
on:
push:
branches:
- main
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Send message to Telegram
env:
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
CHANNEL_ID: ${{ secrets.TELEGRAM_CHANNEL_ID }}
run: |
MESSAGE="New commit in NGT documentation! ${{ github.event.head_commit.message }}"
curl -X POST "https://api.telegram.org/bot$TELEGRAM_TOKEN/sendMessage" -d "chat_id=$CHANNEL_ID&text=$MESSAGE"
- name: UpdateDocs
run: |
curl -X GET https://ngtcode.dev/update_docs.php