diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0028f00..dcab9f6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,7 +19,7 @@ jobs: run: pm2 delete epitome 2> /dev/null || true - name: Prepare application directory run: rm -rf ~/apps/epitome && mkdir ~/apps/epitome - - name: Move build contents to application directory - run: mv dist/* ~/apps/epitome + - name: Move build contents & dependencies to application directory + run: mv dist/* ~/apps/epitome && mv node_modules ~/apps/epitome - name: Start new epitome pm2 process run: cd ~/apps/epitome && pm2 start -f index.js --name epitome && pm2 save