Fixing pre-deploy step of pm2
This commit is contained in:
parent
908651b894
commit
103aae482c
1 changed files with 1 additions and 2 deletions
|
|
@ -13,8 +13,7 @@ module.exports = {
|
||||||
ref: 'origin/main',
|
ref: 'origin/main',
|
||||||
repo: 'https://fred.collinduncan.com/collin/autobaan.git',
|
repo: 'https://fred.collinduncan.com/collin/autobaan.git',
|
||||||
path: '/root/autobaan',
|
path: '/root/autobaan',
|
||||||
'post-setup': 'npm install',
|
'pre-deploy': 'npm install && npm run build',
|
||||||
'pre-deploy': 'npm run build',
|
|
||||||
'post-deploy':
|
'post-deploy':
|
||||||
'GIT_COMMIT=$(git show -s --format=%h) pm2 startOrRestart ecosystem.config.js --name autobaan --update-env',
|
'GIT_COMMIT=$(git show -s --format=%h) pm2 startOrRestart ecosystem.config.js --name autobaan --update-env',
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue