Skip to content

test: ci

test: ci #1

Workflow file for this run

name: Sync DB to S3
on:
push:
branches:
- test # to remove
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
sync_prod_database:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install dependencies
run: uv sync
- name: Download production database from Storage
run: |
uv run pipelines/run.py run download_prod_database
- name: Update production database
run: |
uv run pipelines/run.py run build_database
- name: Upload production database to Storage
run: |
uv run pipelines/run.py run upload_prod_database