Update .gitea/workflows/deploy.yaml
Local Build and Deploy / deploy (push) Successful in 2m22s

This commit is contained in:
remco committed 2026-07-18 15:44:07 +02:00
1 parent 43305ef600
commit dc627cf1db
1 file changed
+4
+4
View File
@@ -54,9 +54,11 @@ jobs:
pnpm prisma:generate
# 6. Next.js Build (Standalone Mode for Next.js 16 + Turbopack)
# SKIP_ENV_VALIDATION=true prevents Zod from crashing on database URL formatting characters (like %40) during build time
export NEXT_DISABLE_SOURCEMAPS=1
export NEXT_TELEMETRY_DISABLED=1
export UV_THREADPOOL_SIZE=2
export SKIP_ENV_VALIDATION=true
pnpm build
# 6b. Configure Standalone Bundle Paths
@@ -66,6 +68,8 @@ jobs:
cp -r .next/static .next/standalone/.next/
# Copy the core Prisma directory to the standalone node_modules to ensure database actions work
cp -r node_modules/@prisma .next/standalone/node_modules/ 2>/dev/null || true
# Explicitly sync your live configuration environment file into the standalone folder
cp .env .next/standalone/.env
# 7. Correct file ownership and permissions for the www-data web server user
sudo chown -R www-data:www-data /var/www/atom-nexst/