diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 503f59f7..8df13203 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -15,7 +15,7 @@ jobs: set -e echo "--- EPIC WEB CONTROL: Starting Auto-Cleanup & Deploy ---" - # 1. Clean up unused build images safely instead of deleting stopped containers + # 1. Clean up unused build images safely docker image prune -f # 2. Navigate to your website directory @@ -31,7 +31,10 @@ jobs: # Fix ownership: Ensure www-data owns the files for the web server sudo chown -R www-data:www-data /var/www/atom-nexst/ - # 4. Install dependencies, run migrations, and build the application + # 4. Configure pnpm to automatically approve build scripts for dependencies + pnpm config set trusted-dependencies @parcel/watcher,@swc/core,sharp + + # Install dependencies, run migrations, and build the application pnpm install --frozen-lockfile pnpm db:migrate pnpm prisma generate