Skip to content

Document new properties. #19

Document new properties.

Document new properties. #19

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