Skip to content

Commit

Permalink
Update English-Burning-Backend.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tolerious authored Jun 18, 2024
1 parent 8e3f377 commit a9fa4cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/English-Burning-Backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ jobs:
# server ip
IP: ${{ secrets.SERVER_IP_ADDRESS }}
# shell to execute on server
SHELL: "source /etc/profile && cd /var/www/html/English-Burning-Backend/ && git pull && pm2 list | grep -q 'online' && pm2 stop all || echo "No running PM2 processes to stop." && cp ../ecosystem.config.js . && pnpm i && pm2 start --env=production"
SHELL: "source /etc/profile && cd /var/www/html/English-Burning-Backend/ && pm2 delete all && cp ../ecosystem.config.js . && pnpm i && pm2 start --env=production"

0 comments on commit a9fa4cf

Please sign in to comment.