From be02af084ea0006ce42811bc69063096c42ba5e7 Mon Sep 17 00:00:00 2001 From: Luke-6723 Date: Fri, 18 Dec 2020 04:56:49 +0000 Subject: [PATCH] npm install => git pull --- src/index.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/index.js b/src/index.js index 8952a58..baaa959 100644 --- a/src/index.js +++ b/src/index.js @@ -109,17 +109,11 @@ app.post('/github/autodeploy', async (req, res) => { color: 38912 }] }) - await sendWebhook({ - embeds: [{ - title: `Restarting container`, - color: 16525609 - }] - }) } return container.exec.create({ AttachStdout: true, AttachStderr: true, - Cmd: [ 'npm', 'install' ] + Cmd: [ 'git', 'pull' ] }).then(async exec => { // Start exec if (process.env.DISCORD_WEBHOOK_URL) {