Skip to content

Commit

Permalink
try fix CI bot api
Browse files Browse the repository at this point in the history
  • Loading branch information
luvletter2333 committed Jul 12, 2022
1 parent c00cac6 commit 36ce017
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,13 @@ jobs:
- name: Release
run: |
chmod +x telegram-bot-api-binary
./telegram-bot-api-binary --api-id=21724 --api-hash=3e0cb5efcd52300aec5994fdfc5bdc16 --local 2>&1 > /dev/null &
function start() {
./telegram-bot-api-binary --api-id=21724 --api-hash=3e0cb5efcd52300aec5994fdfc5bdc16 --local 2>&1 > /dev/null &
}
start
curl http://127.0.0.1:8081/ & start
curl http://127.0.0.1:8081/ & start
curl http://127.0.0.1:8081/ & start
curl http://127.0.0.1:8081/bot${{ secrets.TELEGRAM_TOKEN }}/sendMessage \
-X POST \
-F chat_id="${{ secrets.TELEGRAM_CHANNEL }}" \
Expand Down

0 comments on commit 36ce017

Please sign in to comment.