fix: cd to shared_lib for alembic (script_location is relative)
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 39s

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
giles
2026-02-10 00:34:33 +00:00
parent 1d4a026f4d
commit df3e592660

View File

@@ -13,7 +13,7 @@ fi
# Run DB migrations only if RUN_MIGRATIONS=true (blog service only)
if [[ "${RUN_MIGRATIONS:-}" == "true" ]]; then
echo "Running Alembic migrations..."
alembic -c shared_lib/alembic.ini upgrade head
cd shared_lib && alembic upgrade head && cd /app
fi
# Clear Redis page cache on deploy