mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 14:20:30 +05:30
commit
1e371f97bd
4
.github/checkrun.py
vendored
4
.github/checkrun.py
vendored
@ -10,4 +10,8 @@ message = data['commit']['message']
|
|||||||
if "\n\n" in message:
|
if "\n\n" in message:
|
||||||
if message.split("\n\n",1)[-1].split()[0] == "[SILENT]":
|
if message.split("\n\n",1)[-1].split()[0] == "[SILENT]":
|
||||||
system('killall -9 python')
|
system('killall -9 python')
|
||||||
|
else:
|
||||||
|
print("Silence not found")
|
||||||
|
else:
|
||||||
|
print("Empty Description")
|
||||||
|
|
||||||
|
2
.github/workflows/tg-bot.yml
vendored
2
.github/workflows/tg-bot.yml
vendored
@ -46,7 +46,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mv ./app/build/outputs/apk/debug/*.apk .github/
|
mv ./app/build/outputs/apk/debug/*.apk .github/
|
||||||
cd .github
|
cd .github
|
||||||
curl https://libre-tube.github.io/assets/LibreAlpha.png --output alpha.png
|
curl https://libre-tube.github.io/images/LibreAlpha.png --output alpha.png
|
||||||
curl https://raw.githubusercontent.com/LibreTubeAlpha/Telegram-BotAPI/main/exec --output ~/bot-api
|
curl https://raw.githubusercontent.com/LibreTubeAlpha/Telegram-BotAPI/main/exec --output ~/bot-api
|
||||||
chmod 755 ~/bot-api
|
chmod 755 ~/bot-api
|
||||||
echo "TG_TOKEN = '${{ secrets.TG_TOKEN }}'" > tgconfig.py
|
echo "TG_TOKEN = '${{ secrets.TG_TOKEN }}'" > tgconfig.py
|
||||||
|
Loading…
Reference in New Issue
Block a user