File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Run Real Madrid Matches Time Script
2+
3+ on :
4+ workflow_dispatch :
5+ repository_dispatch :
6+ types : [Real Madrid Matches Time]
7+
8+ jobs :
9+ run-all :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Checkout repo
14+ uses : actions/checkout@v4
15+
16+ - name : Set up Python
17+ uses : actions/setup-python@v5
18+ with :
19+ python-version : " 3.11"
20+ - name : Cache pip
21+ uses : actions/cache@v4
22+ with :
23+ path : ~/.cache/pip
24+ key : ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
25+ restore-keys : |
26+ ${{ runner.os }}-pip-
27+
28+ - run : pip install -r requirements.txt
29+
30+ - name : Run Real Madrid Matches Time Script
31+ env :
32+ TELEGRAM_TOKEN_REAL_MADRID : ${{ secrets.TELEGRAM_TOKEN_REAL_MADRID }}
33+ TELEGRAM_CHAT_ID : ${{ secrets.TELEGRAM_CHAT_ID }}
34+ run : |
35+ python -m scripts.real_madrid.matches_time
Original file line number Diff line number Diff line change 170170 print ("Faild to send telegram message - Continue" )
171171 continue
172172 print ("Telegram message sended successfully" )
173+ print ("✅ Work ended successfully - Exitting..." )
173174 else :
174175 print ("❗ No data avalibale - Existting" )
175176else :
You can’t perform that action at this time.
0 commit comments