pm2-githook
pm2-githook copied to clipboard
Doesn't pull when ssh credentials are missing, but still logs "Successfuly pulled application api" to the console.
logs "Successfuly pulled application api" but doesn't pull. Not sure what can be wrong with it. node v12.10.0
I think this was because pm2 daemon was running from root user and not ubuntu user, therefore it couldn't access ubuntu ssh credentials to do git pull.
Logging "Successfuly pulled application api" is incorrect and is extremely confusing in this case. I think this should be fixed.