attempt to send apk to telegram bot #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Telegram Test | |
on: | |
pull_request: | |
paths-ignore: | |
- "README.md" | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- "README.md" | |
jobs: | |
send_test_file: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Create a test file | |
run: echo "This is a test file from GitHub Actions." > test-file.txt | |
- name: Send test file to Telegram | |
uses: appleboy/telegram-action@master | |
with: | |
to: ${{ secrets.TELEGRAM_TO }} | |
token: ${{ secrets.TELEGRAM_TOKEN }} | |
document: ./test-file.txt | |
message: | | |
This is a test message. | |
If you receive the file, the integration is working! |