From 228feb0512fd36386798be8464f17766721afbe6 Mon Sep 17 00:00:00 2001 From: PxlLoewe <72106766+PxlLoewe@users.noreply.github.com> Date: Tue, 22 Jul 2025 10:07:57 -0700 Subject: [PATCH 1/4] fix deployment flow --- .github/workflows/deploy-production.yml | 4 ++-- apps/hub/app/(app)/events/page.tsx | 7 +++++-- packages/database/prisma/json/User.ts | 4 ++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy-production.yml b/.github/workflows/deploy-production.yml index 6593c4fb..79c47532 100644 --- a/.github/workflows/deploy-production.yml +++ b/.github/workflows/deploy-production.yml @@ -38,7 +38,7 @@ jobs: - name: Build and start containers uses: appleboy/ssh-action@v1 with: - host: ${{ vars.STAGING_HOST }} + host: ${{ vars.PRODUCTION_HOST }} username: ${{ secrets.SSH_USERNAME }} password: ${{ secrets.SSH_PASSWORD }} port: 22 @@ -46,4 +46,4 @@ jobs: export NVM_DIR="$HOME/.nvm" source "$NVM_DIR/nvm.sh" cd ~/docker/var-monorepo - pnpm staging-start + pnpm prod-start diff --git a/apps/hub/app/(app)/events/page.tsx b/apps/hub/app/(app)/events/page.tsx index d8e2e93b..fbd72617 100644 --- a/apps/hub/app/(app)/events/page.tsx +++ b/apps/hub/app/(app)/events/page.tsx @@ -10,6 +10,9 @@ const page = async () => { if (!user) return null; const events = await prisma.event.findMany({ + where: { + hidden: false, + }, include: { Appointments: { where: { @@ -65,8 +68,8 @@ const page = async () => { return (
-
+