Skip to content

update-data

update-data #3087

Workflow file for this run

name: update-data
on:
push:
branches:
- main
schedule:
- cron: '0 * * * *'
jobs:
update:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: checkout repo content
uses: actions/checkout@v2 # checkout the repository content
- name: setup python
uses: actions/setup-python@v4
with:
python-version: '3.10' # install the python version needed
- name: install python packages
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: execute py script # run update script
run: python scripts/update.py
- uses: stefanzweifel/git-auto-commit-action@v5