From 149dc215f0e7907668be54b2c41172f7b4938492 Mon Sep 17 00:00:00 2001 From: Remco <1+remco@noreply.gitlabi@epicnabbo.nl> Date: Sun, 12 Jul 2026 14:20:07 +0200 Subject: [PATCH] Update .gitea/workflows/deploy.yaml --- .gitea/workflows/deploy.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index d3358d8d..fde61ec1 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -18,6 +18,9 @@ jobs: # 2. Navigate to your website directory cd /var/www/atom-nexst/ + # Prevent Git permission errors from the previous www-data ownership change + git config --global --add safe.directory /var/www/atom-nexst + # Point Git directly to the local Gitea folder path git remote set-url origin /docker/gitea/gitea/git/repositories/remco/epicnext-cms.git/ @@ -28,9 +31,9 @@ jobs: # REMOVE OLD CACHE AND BUILDS rm -rf .next .output dist - # 4. Configure trusted dependencies globally for this session and install + # 4. Configure trusted dependencies and install packages smoothly export PNPM_CONFIG_ONLY_BUILT_DEPENDENCIES="@parcel/watcher,@swc/core,sharp" - pnpm install --frozen-lockfile + pnpm install # 5. Sync Prisma with the actual DB structure and generate types echo "Syncing schema with database..."