Skip to content

Commit

Permalink
chore: also move node_modules in ~/apps/epitome
Browse files Browse the repository at this point in the history
  • Loading branch information
sparky-raccoon committed Jan 14, 2024
1 parent 855aaeb commit e433365
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e433365

Please sign in to comment.