We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f098a9 commit 889fd0aCopy full SHA for 889fd0a
.github/workflows/nodejs.yml
@@ -71,7 +71,7 @@ jobs:
71
key: ${{ secrets.SSH_PRIVATE_KEY }}
72
port: 22
73
script: |
74
- pm2 restart test_server
+ /usr/local/bin/pm2 restart test_server # <-- Use full path here!
75
76
- name: Check PM2 logs
77
uses: appleboy/[email protected]
@@ -81,7 +81,7 @@ jobs:
81
82
83
84
- pm2 logs
+ /usr/local/bin/pm2 logs test_server # <-- Use full path here!
85
86
- name: Check PM2 status
87
@@ -91,7 +91,7 @@ jobs:
91
92
93
94
- pm2 status
+ /usr/local/bin/pm2 status test_server # <-- Use full path here!
95
96
- name: Check if the server is running
97
0 commit comments