updating deploy to include GIT_COMMIT as env var
All checks were successful
ci/woodpecker/push/test-and-deploy Pipeline was successful
All checks were successful
ci/woodpecker/push/test-and-deploy Pipeline was successful
This commit is contained in:
parent
543a8c4ada
commit
ed05a330f6
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ module.exports = {
|
||||||
repo: 'https://fred.collinduncan.com/collin/autobaan.git',
|
repo: 'https://fred.collinduncan.com/collin/autobaan.git',
|
||||||
path: '/root/autobaan',
|
path: '/root/autobaan',
|
||||||
'post-deploy':
|
'post-deploy':
|
||||||
'npm install && pm2 startOrRestart ecosystem.config.js --name autobaan',
|
'npm install && GIT_COMMIT=$(git show -s --format=%h) pm2 startOrRestart ecosystem.config.js --name autobaan --update-env',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue