x
This commit is contained in:
1 parent
b3192ae99e
commit
7b503698b6
1 file changed
+2
-1
@@ -113,7 +113,8 @@ $BUN x prisma migrate deploy
|
|||||||
# F. PM2 Management - BACKEND
|
# F. PM2 Management - BACKEND
|
||||||
echo ">>> Managing PM2 Process: $PM2_NAME_BACKEND..."
|
echo ">>> Managing PM2 Process: $PM2_NAME_BACKEND..."
|
||||||
$PM2 startOrReload $TARGET_BACKEND/ecosystem.config.js --only $PM2_NAME_BACKEND --env production --update-env
|
$PM2 startOrReload $TARGET_BACKEND/ecosystem.config.js --only $PM2_NAME_BACKEND --env production --update-env
|
||||||
echo "✅ PM2 process '$PM2_NAME_BACKEND' is running."
|
echo "✅ PM2 process '$PM2_NAME_BACKEND' is running. Waiting 10s for it to fully start..."
|
||||||
|
sleep 10
|
||||||
|
|
||||||
# G. Build & Deploy WEBSITE (Next.js SSR)
|
# G. Build & Deploy WEBSITE (Next.js SSR)
|
||||||
echo ">>> Building Next.js SSR App inside monorepo temp dir..."
|
echo ">>> Building Next.js SSR App inside monorepo temp dir..."
|
||||||
|
|||||||
Reference in new issue
Block a user