Update Auto2
Node.js CI/CD / build (push) Failing after 13s

This commit is contained in:
John
2026-09-23 13:11:29 +05:30
parent a12b3e5a68
commit 5fc7ec864c
+5 -1
View File
@@ -47,8 +47,12 @@ jobs:
New-Item -ItemType Directory -Path $deployPath -Force New-Item -ItemType Directory -Path $deployPath -Force
} }
Write-Host "Deploying application..."
Copy-Item -Path ".\*" -Destination $deployPath -Recurse -Force Copy-Item -Path ".\*" -Destination $deployPath -Recurse -Force
Write-Host "Restarting Node.js application..."
pm2 restart my-node-app pm2 restart my-node-app
Write-Host "Deployment completed successfully." Write-Host "Deployment completed."