Changing pm2 to omit dev deps when installing
This commit is contained in:
parent
b1bee5feb9
commit
04c5099d13
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ module.exports = {
|
|||
repo: 'https://fred.collinduncan.com/collin/autobaan.git',
|
||||
path: '/root/autobaan',
|
||||
'post-deploy':
|
||||
'npm install && GIT_COMMIT=$(git show -s --format=%h) pm2 startOrRestart ecosystem.config.js --name autobaan --update-env',
|
||||
'npm install --omit dev && GIT_COMMIT=$(git show -s --format=%h) pm2 startOrRestart ecosystem.config.js --name autobaan --update-env',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue