mirror of https://github.com/OpenIPC/firmware.git
Attempt to fix TG curl timeout uploads
parent
3b4fcb5d03
commit
0de2f9f168
|
@ -419,7 +419,7 @@ jobs:
|
|||
TG_CHANNEL: ${{ secrets.TELEGRAM_CHANNEL_OPENIPC_DEV }}
|
||||
if: ${{ !env.ACT && failure() && github.event_name != 'pull_request' }}
|
||||
run: |
|
||||
TG_OPTIONS="-s --connect-timeout 30 --max-time 30"
|
||||
TG_OPTIONS="-s --connect-timeout 30 --retry 10 --verbose"
|
||||
TG_NOTIFY="${TG_NOTIFY:=Warning, Buildroot compiling error... ${{ matrix.platform }} (${{ matrix.release }})}"
|
||||
TG_HEADER=$(echo -e "\r\n$TG_NOTIFY \r\n\r\nCommit: $GIT_HASH \r\nBranch: $BRANCH \r\nTag: $TAG_NAME \r\n\r\n\xE2\x9A\xA0 GitHub Actions")
|
||||
curl $TG_OPTIONS -H "Content-Type: multipart/form-data" -X POST https://api.telegram.org/bot$TG_TOKEN/sendMessage \
|
||||
|
|
Loading…
Reference in New Issue