diff --git a/.github/workflows/ci-deploy.yml b/.github/workflows/ci-deploy.yml index 82081bd..6e3272a 100644 --- a/.github/workflows/ci-deploy.yml +++ b/.github/workflows/ci-deploy.yml @@ -188,6 +188,22 @@ jobs: steps: - uses: actions/checkout@v5 + - uses: oven-sh/setup-bun@v2 + with: + bun-version: "1.3.6" + + - name: Install dependencies + run: bun install + + - name: Generate Prisma client + run: cd backend && bun x prisma generate + + - name: Run production migrations + run: cd backend && bun x prisma migrate deploy + env: + DATABASE_URL: ${{ secrets.DATABASE_URL }} + DIRECT_URL: ${{ secrets.DIRECT_URL }} + - name: Install Railway CLI run: npm install -g @railway/cli diff --git a/apps/web/src/app/(app)/browse/[courseId]/page.tsx b/apps/web/src/app/(app)/browse/[courseId]/page.tsx index 57a30dd..7e1cadf 100644 --- a/apps/web/src/app/(app)/browse/[courseId]/page.tsx +++ b/apps/web/src/app/(app)/browse/[courseId]/page.tsx @@ -289,7 +289,7 @@ export default async function CourseDetailPage({
{actionLabel ? ( -