Skip to content

Daily Model Update

Daily Model Update #57

Workflow file for this run

name: Daily Model Update
on:
schedule:
- cron: '0 9 * * *' # Every morning at 09:00 UTC
workflow_dispatch: # Allows you to click a button in GitHub to update immediately
jobs:
update-models:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: pip install requests
- name: Configure Git
run: |
git config user.name "GitHub Actions"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: Run updater
run: python pollinations_auto_updater.py