Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
louiszn authored Oct 8, 2024
1 parent 0282388 commit 9c25b39
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@ jobs:
- run: |
touch .env
echo "${{ secrets.ENV }}" >> .env
- run: pm2 stop all || pm2 start --interpreter ~/.bun/bin/bun src/index.ts
- name: Stop all proccess
run: pm2 stop all || true
- name: Start a new process
run: pm2 start --interpreter ~/.bun/bin/bun src/index.ts

0 comments on commit 9c25b39

Please sign in to comment.