pls work
This commit is contained in:
parent
c7efba4204
commit
9b6ffd717d
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ http.createServer(function (req, res) {
|
|||
let sig = "sha1=" + crypto.createHmac('sha1', secret).update(chunk.toString()).digest('hex')
|
||||
if (req.headers["x-hub-signature"] == sig) {
|
||||
console.log("updating moover...")
|
||||
exec(`pm2 stop 'MOOver - main' && cd ${repo} && git pull && npm install && pm2 start 'MOOver - main'`)
|
||||
exec(`pm2 stop 'MOOver - main' && echo 1 && cd ${repo} && echo 2 && git pull && echo 3 && npm install && echo 4 && pm2 start 'MOOver - main' && echo 5`)
|
||||
console.log("Success!")
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue