完善程序并加入Telegram推送(待测试)

This commit is contained in:
GamerNoTitle committed 2020-11-22 09:06:35 +08:00
1 parent 24c83b189d
commit 04fb10a51c
3 files changed
+48 -9

No files matched your search

+11 -1
View File
@@ -27,6 +27,16 @@ jobs:
- name: Install requests #安装requests
run: |
pip install -r requirements.txt
- name: set var
run: |
echo ${{ secrets.cookie }} > cookie.txt
echo ${{ secrets.teleid }} > teleid.txt
echo ${{ secrets.teletoken }} > teletoken.txt
- name: Run script
run: |
python3 main.py ${{ secrets.cookie }}
python3 main.py
- name: remove var
run: |
rm cookie.txt
rm teleid.txt
rm teletoken.txt