This commit is contained in:
1 parent
18543134c6
commit
47bd05f0d9
1 file changed
+5
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user