Skip to content

Commit

Permalink
Update pm2 name
Browse files Browse the repository at this point in the history
  • Loading branch information
Vylpes committed Jun 12, 2024
1 parent 3a68171 commit 6134088
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ jobs:
script: |
cd ${{ secrets.SSH_SERVER_PATH }} \
&& docker compose down \
&& (pm2 stop vylbot || true) \
&& (pm2 delete vylbot || true) \
&& (pm2 stop vylbot_prod || true) \
&& (pm2 delete vylbot_prod || true) \
&& docker compose up -d \
&& sleep 10 \
&& yarn run db:up \
&& pm2 start --name vylbot dist/vylbot.js
&& pm2 start --name vylbot_prod dist/vylbot.js
6 changes: 3 additions & 3 deletions .github/workflows/stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ jobs:
script: |
cd ${{ secrets.SSH_SERVER_PATH }} \
&& docker compose down \
&& (pm2 stop vylbot || true) \
&& (pm2 delete vylbot || true) \
&& (pm2 stop vylbot_stage || true) \
&& (pm2 delete vylbot_stage || true) \
&& docker compose up -d \
&& sleep 10 \
&& yarn run db:up \
&& pm2 start --name vylbot dist/vylbot.js
&& pm2 start --name vylbot_stage dist/vylbot.js

0 comments on commit 6134088

Please sign in to comment.