mirror of
https://github.com/IT4Change/IT4C.dev.git
synced 2025-12-12 17:05:50 +00:00
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 <lenzmath@posteo.de>
This commit is contained in:
parent
18b9e8187f
commit
93f1c89934
2
.github/webhooks/deploy.sh
vendored
2
.github/webhooks/deploy.sh
vendored
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user