Send notification to Telegram
Version updated for chapvic/telegram-notify to version v1.0.0.
- This action is used across all versions by ? repositories.
Go to the GitHub Marketplace to find the latest changes.
Release notes
v1.0.0
Usage:
- Save your Telegram bot token in secrets (for example, as BOT_TOKEN)
- Save your personal Chat ID or a Channel name in secrets (for example, as CHAT_ID)
- Save your Git-server instance URL in secrets/variables (for example, as GIT_SERVER)
- Add following step to the end of your workflow:
- name: Send notification to Telegram
uses: chapvic/telegram-notify@master
if: always()
with:
chat: ${{ secrets.chat }} # User ID or channel name secret
token: ${{ secrets.token }} # Token secret
server: ${{ vars.server }} # Git-server instance URL (default - https://github.com)
status: ${{ job.status }} # Do not modify this line !!!
Notes:
For GitHub.com the "server" variable may be skipped.