Skip to content

Commit 0b03a55

Browse files
authored
Create python-trackerlist.yml
1 parent 4acdaa7 commit 0b03a55

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Trackerslist
2+
3+
on:
4+
schedule:
5+
- cron: "0 8 * * *"
6+
workflow_dispatch:
7+
8+
jobs:
9+
trackerslist_autoupdate:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Check out repository
14+
uses: actions/checkout@v3
15+
16+
- name: Set up Python
17+
uses: actions/checkout@v3
18+
with:
19+
python-version: '3.11'
20+
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip install requests
25+
- name: Run script to trackerslist
26+
run: |
27+
python trackerslist.py
28+
- name: Commit and push changes
29+
run: |
30+
git config --local user.email "[email protected]"
31+
git config --local user.name "GitHub Actions"
32+
git add .
33+
git commit -m "Update trackerslist"
34+
git push

0 commit comments

Comments
 (0)