Skip to content

Commit

Permalink
npm install => git pull
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke-6723 committed Dec 18, 2020
1 parent 0e90735 commit be02af0
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit be02af0

Please sign in to comment.