mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-27 15:30:31 +05:30
fix python syntax
This commit is contained in:
parent
37e6595fd5
commit
198cd5a542
2
.github/uploader.py
vendored
2
.github/uploader.py
vendored
@ -1,7 +1,7 @@
|
||||
from os import system as run
|
||||
import tgconfig
|
||||
|
||||
if GH_REPO.lower() == "libre-tube/libretube":
|
||||
if tgconfig.GH_REPO.lower() == "libre-tube/libretube":
|
||||
run("git clone https://github.com/LibreTubeAlpha/Archive archive")
|
||||
run("rm -rf archive/*.apk")
|
||||
run("mv app/build/outputs/apk/debug/*.apk archive/")
|
||||
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -58,7 +58,7 @@ jobs:
|
||||
continue-on-error: true
|
||||
run: |
|
||||
mv .github/uploader.py .
|
||||
echo "GH_REPO = '${{ env.GITHUB_REPOSITORY }}'" > tgconfig.py
|
||||
echo "GH_REPO = '${{ github.repository }}'" > tgconfig.py
|
||||
python uploader.py
|
||||
|
||||
- name: Telegram Bot
|
||||
|
Loading…
x
Reference in New Issue
Block a user