Skip to content

Commit

Permalink
path correction
Browse files Browse the repository at this point in the history
  • Loading branch information
emrergin committed Dec 30, 2023
1 parent 8b3fa14 commit 42218f9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,9 @@ jobs:
path: /home/zulmet/servers/belief/
- name: Copy .env
run: cp /home/zulmet/servers/.env /home/zulmet/servers/belief/standalone/.env
- name: Move to relevant folder
run: cd /home/zulmet/servers/belief/standalone
- name: Update server.js
run: sed -i 's/3000/3002/g' server.js
run: sed -i 's/3000/3002/g' /home/zulmet/servers/belief/standalone/server.js
- name: Restart server
run: |
pm2 restart server.js --name belief
pm2 restart /home/zulmet/servers/belief/standalone/server.js --name belief
pm2 save

0 comments on commit 42218f9

Please sign in to comment.