From 1516d932818885b391579293ad7ef883dd9ac6bb Mon Sep 17 00:00:00 2001 From: bibekthapa007 Date: Sun, 22 Sep 2024 20:04:27 +0545 Subject: [PATCH] workflow: Update the server and client deployment start steps --- .github/workflows/deployment.js.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deployment.js.yml b/.github/workflows/deployment.js.yml index 1ad9a70..b59e70d 100644 --- a/.github/workflows/deployment.js.yml +++ b/.github/workflows/deployment.js.yml @@ -41,9 +41,9 @@ jobs: - name: Start server run: | cd server - pm2 start server.js --name "server" --watch + pm2 restart server - name: Start app run: | cd client - pm2 start npm --name "app" -- start + pm2 restart app