From 62e3c1f7775699e9bebb2a32aaeaab8156da90b1 Mon Sep 17 00:00:00 2001 From: Remco <1+remco@noreply.gitlabi@epicnabbo.nl> Date: Sun, 12 Jul 2026 14:01:53 +0200 Subject: [PATCH] Update .gitea/workflows/deploy.yaml --- .gitea/workflows/deploy.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 12d5a4c6..08567016 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -25,14 +25,16 @@ jobs: git fetch origin --prune git reset --hard origin/main - # REMOVE OLD CACHE AND BUILDS (Adjust to .output, .next, or dist depending on your framework) + # REMOVE OLD CACHE AND BUILDS rm -rf .next .output dist # 4. Configure pnpm to automatically approve build scripts pnpm config set trusted-dependencies @parcel/watcher,@swc/core,sharp - # Install dependencies, run migrations, and build the application + # Install dependencies pnpm install --frozen-lockfile + + # Database updates, client generation and build pnpm db:migrate pnpm prisma generate pnpm build