Skip to content

GetTrackers

GetTrackers #9

Workflow file for this run

name: GetTrackers
on:
schedule:
- cron: '0 0,1,5,11,14,17,22 * * *'
workflow_dispatch:
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11.1'
- name: cache log
id: cache-log
uses: actions/cache@v3
with:
path: log
key: bot-logs
- name: Run pip install wget
run: pip install wget
- name: Run python PyTrackers.py
run: |
python PyTrackers.py
working-directory: ./main
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
- uses: actions/upload-artifact@v3
with:
name: my-artifact
path: |
./main/trackers.txt
./main/output_trackers.txt
retention-days: 1