diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index fd04218..c667407 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -25,4 +25,4 @@ jobs: npm prune # we remove any unused dependencies npm install # we install any missing dependencies npm run build # we build our app - pm2 start npm --name portfolio-app -- run start -- -p 3000 + pm2 restart portfolio-app