Deploy script with rollback (1.1.2)
scripts/deploy.sh backs up the database (pg_dump), checks out the release, runs npm ci, prisma migrate deploy and generate, builds the frontend, restarts the PM2 apps and health-checks them. Any failure puts back the previous code and build, and restores the dump if new migrations had run. deployment.md §12 now uses it. tsconfig.tsbuildinfo leaves git so builds don't leave the tree dirty. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "events-hub-frontend",
|
||||
"version": "1.1.1",
|
||||
"version": "1.1.2",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev -p 3200",
|
||||
|
||||
Reference in New Issue
Block a user