mirror of
https://github.com/MGislv/NekoX.git
synced 2024-06-30 10:14:04 +00:00
try fix CI bot api
This commit is contained in:
parent
c00cac6b28
commit
36ce0178f6
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
@ -382,7 +382,13 @@ jobs:
|
||||||
- name: Release
|
- name: Release
|
||||||
run: |
|
run: |
|
||||||
chmod +x telegram-bot-api-binary
|
chmod +x telegram-bot-api-binary
|
||||||
|
function start() {
|
||||||
./telegram-bot-api-binary --api-id=21724 --api-hash=3e0cb5efcd52300aec5994fdfc5bdc16 --local 2>&1 > /dev/null &
|
./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 \
|
curl http://127.0.0.1:8081/bot${{ secrets.TELEGRAM_TOKEN }}/sendMessage \
|
||||||
-X POST \
|
-X POST \
|
||||||
-F chat_id="${{ secrets.TELEGRAM_CHANNEL }}" \
|
-F chat_id="${{ secrets.TELEGRAM_CHANNEL }}" \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user