Skip to content

Update Database

Update Database #612

Workflow file for this run

name: Update Database
on:
workflow_dispatch:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '30 5 * * *'
jobs:
deploy:
environment:
name: deploy
runs-on: ubuntu-latest
if: (github.repository == 'ManimCommunity/manim-website-api')
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
# Install a specific version of uv.
version: "0.5.26"
enable-cache: true
- uses: actions/setup-python@v5
with:
python-version-file: ".python-version"
- name: Install dependencies
run: |
uv sync --all-extras --locked
- name: Run the updator
env:
SQLALCHEMY_DATABASE_URI: ${{ secrets.SQLALCHEMY_DATABASE_URI }}
run: |
uv run python -m updator