From 93f1c89934ac57a0b3c0ad829ddb95feb716970a Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Fri, 7 Mar 2025 15:18:26 +0100 Subject: [PATCH] backend: install no dev dependencies (#251) Omit installing the dev dependencies for the backend, as we serve it as is in production. Co-authored-by: mahula --- .github/webhooks/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/webhooks/deploy.sh b/.github/webhooks/deploy.sh index a5c2e90..841539f 100755 --- a/.github/webhooks/deploy.sh +++ b/.github/webhooks/deploy.sh @@ -40,7 +40,7 @@ cd $BACKEND_ROOT pm2 stop $BACKEND_SERVICE pm2 delete $BACKEND_SERVICE -npm install +npm install --omit=dev npm run build pm2 start 'npm run start' --name $BACKEND_SERVICE \ No newline at end of file