Skip to content

Commit 4deca3e

Browse files
authored
Create trackerslist_autoupdate.yml
1 parent e970796 commit 4deca3e

File tree

1 file changed

+35
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)