diff --git a/tasks/deployer.yml b/tasks/deployer.yml index 58f5061..0771942 100644 --- a/tasks/deployer.yml +++ b/tasks/deployer.yml @@ -185,7 +185,8 @@ - "/root/frontend/dist/:/usr/src/app/dist/" - "/root/frontend/.env:/usr/src/app/.env" restart_policy: always - command: "npm start" + command: "npm run build" + "npm start" when: - deployerTask532 is defined - deployerTask532.changed