Skip to content

run generate.py

run generate.py #31

Workflow file for this run

name: run generate.py
on:
schedule:
- cron: "0 1 * * *"
push:
branches:
- "main"
- "releases/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v4 # checkout the repository content to github runner
- name: setup python
uses: actions/setup-python@v5
with:
python-version: "3.9" # 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 generate.py
env:
MONGO_URI: ${{ secrets.MONGO_URI }}
run: python generate.py