Update deployer.yml

This commit is contained in:
Matte 2024-04-22 12:16:30 +03:00
parent 35dff1d2fd
commit a8ae62bc80

View File

@ -185,8 +185,7 @@
- "/root/frontend/dist/:/usr/src/app/dist/" - "/root/frontend/dist/:/usr/src/app/dist/"
- "/root/frontend/.env:/usr/src/app/.env" - "/root/frontend/.env:/usr/src/app/.env"
restart_policy: always restart_policy: always
command: "npm run build" command: "npm run build && npm start"
"npm start"
when: when:
- deployerTask532 is defined - deployerTask532 is defined
- deployerTask532.changed - deployerTask532.changed