diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 5c5f17a..2576d96 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -108,8 +108,13 @@ jobs: done fi - # Pull latest images and restart + # Pull latest images docker compose pull + + # Push database schema (starts postgres, waits for healthy) + docker compose run --rm journal npx drizzle-kit push --config /app/packages/db/drizzle.config.ts --force + + # Start all services docker compose up -d --remove-orphans # Verify services are running diff --git a/apps/planner/Dockerfile b/apps/planner/Dockerfile index 3167d82..ee02008 100644 --- a/apps/planner/Dockerfile +++ b/apps/planner/Dockerfile @@ -30,4 +30,4 @@ COPY --from=build /app/packages ./packages WORKDIR /app/apps/planner EXPOSE 3001 ENV PORT=3001 -CMD ["node", "server.ts"] +CMD ["node", "--experimental-strip-types", "server.ts"]