Skip to content

track downloads

track downloads #109

name: track downloads
on:
workflow_dispatch:
schedule:
- cron: "0 12 * * 1"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v3 # checkout the repository content to github runner.
- name: setup python
uses: actions/setup-python@v4
with:
python-version: 3.8 #install the python needed
- name: install requirements
run: pip install PyGithub requests_html pandas matplotlib lxml==5.1.0
- name: execute py script # run the run.py to get the latest data
run: |
python admin/update_tracker.py
env:
key: ${{ secrets.key }}