mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 00:10:32 +05:30
Get API Info before compilation
This commit is contained in:
parent
cb8708d646
commit
7a89147ab5
2
.github/workflows/tg-bot.yml
vendored
2
.github/workflows/tg-bot.yml
vendored
@ -29,6 +29,7 @@ jobs:
|
|||||||
- name: Check for Execution Orders
|
- name: Check for Execution Orders
|
||||||
run: |
|
run: |
|
||||||
cd .github
|
cd .github
|
||||||
|
curl https://api.github.com/repos/${{ github.repository }}/commits/${{ github.sha }} > commit.json
|
||||||
python checkrun.py
|
python checkrun.py
|
||||||
|
|
||||||
- name: Patch and Compile
|
- name: Patch and Compile
|
||||||
@ -49,7 +50,6 @@ jobs:
|
|||||||
echo "TG_API_ID = '${{ secrets.TG_API_ID }}'" >> tgconfig.py
|
echo "TG_API_ID = '${{ secrets.TG_API_ID }}'" >> tgconfig.py
|
||||||
echo "TG_POST_ID = '${{ secrets.TG_POST_ID }}'" >> tgconfig.py
|
echo "TG_POST_ID = '${{ secrets.TG_POST_ID }}'" >> tgconfig.py
|
||||||
echo "TG_API_HASH = '${{ secrets.TG_API_HASH }}'" >> tgconfig.py
|
echo "TG_API_HASH = '${{ secrets.TG_API_HASH }}'" >> tgconfig.py
|
||||||
curl https://api.github.com/repos/${{ github.repository }}/commits/${{ github.sha }} > commit.json
|
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install python-telegram-bot
|
pip install python-telegram-bot
|
||||||
python tg.py
|
python tg.py
|
||||||
|
Loading…
x
Reference in New Issue
Block a user