From 4671b9e58d26d3a791e2425b8d361ec70a380413 Mon Sep 17 00:00:00 2001 From: Djkato Date: Wed, 12 Jul 2023 23:15:41 +0200 Subject: [PATCH] spaces?:?? --- git_webhook.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git_webhook.js b/git_webhook.js index 4fdc7e6..702de81 100644 --- a/git_webhook.js +++ b/git_webhook.js @@ -11,7 +11,7 @@ http.createServer(function (req, res) { const 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' && cd ${repo} && git pull && npm install && pm2 start 'MOOver-main'`) console.log('Success!') } })