File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 7171 key : ${{ secrets.SSH_PRIVATE_KEY }}
7272 port : 22
7373 script : |
74- /usr/local/bin/ pm2 restart test_server # <-- Use full path here!
74+ cd /usr/local/bin && pm2 restart test_server # <-- Use full path here!
7575
7676 - name : Check PM2 logs
77778181 key : ${{ secrets.SSH_PRIVATE_KEY }}
8282 port : 22
8383 script : |
84- /usr/local/bin/ pm2 logs test_server # <-- Use full path here!
84+ cd /usr/local/bin && pm2 logs test_server # <-- Use full path here!
8585
8686 - name : Check PM2 status
87879191 key : ${{ secrets.SSH_PRIVATE_KEY }}
9292 port : 22
9393 script : |
94- /usr/local/bin/ pm2 status test_server # <-- Use full path here!
94+ cd /usr/local/bin && pm2 status test_server # <-- Use full path here!
9595
9696 - name : Check if the server is running
9797
You can’t perform that action at this time.
0 commit comments