diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 26ba4168..d3358d8d 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -28,8 +28,9 @@ jobs: # REMOVE OLD CACHE AND BUILDS rm -rf .next .output dist - # 4. Install dependencies and allow build scripts for sharp, swc, and parcel - pnpm install --frozen-lockfile --only-built-dependencies=@parcel/watcher,@swc/core,sharp + # 4. Configure trusted dependencies globally for this session and install + export PNPM_CONFIG_ONLY_BUILT_DEPENDENCIES="@parcel/watcher,@swc/core,sharp" + pnpm install --frozen-lockfile # 5. Sync Prisma with the actual DB structure and generate types echo "Syncing schema with database..."