From e4333656a1bbd34291da3ac0d733f56994a36b8e Mon Sep 17 00:00:00 2001 From: sparky-raccoon Date: Sun, 14 Jan 2024 20:51:02 +0100 Subject: [PATCH] chore: also move node_modules in ~/apps/epitome --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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