load db first

This commit is contained in:
Jun-te Kim 2025-04-01 12:28:42 +00:00
parent 993943c8ee
commit 3d8bee970d

View file

@ -22,7 +22,7 @@ jobs:
- name: run script
run: |
poetry run python etl/load_metadata.py
poetry run alembic upgrade head
poetry run alembic upgrade
env:
PYTHONPATH: ${{ github.workspace }}
DATABASE_URL: "postgresql://postgres:makingwarmhomes@terraform-20250331175522503500000002.cdgzupxvdyp0.eu-west-2.rds.amazonaws.com:5432/surveyDB"