mirror of
https://github.com/NekoX-Dev/NekoX.git
synced 2024-12-13 21:10:43 +01:00
4 lines
232 B
Bash
4 lines
232 B
Bash
if [ "$AGENT_JOBSTATUS" == "Succeeded" ]; then
|
|
export name=$(find $APPCENTER_OUTPUT_DIRECTORY -name '*.apk')
|
|
curl https://api.telegram.org/bot${BOT_TOKEN}/sendDocument -X POST -F chat_id="$CHANNEL_ID" -F document="@$name"
|
|
fi |