Changing where the deploy action comes from
Some checks failed
ci/woodpecker/push/test-and-deploy Pipeline failed
Some checks failed
ci/woodpecker/push/test-and-deploy Pipeline failed
This commit is contained in:
parent
42da932301
commit
21495eea58
3 changed files with 13421 additions and 13421 deletions
|
|
@ -13,7 +13,7 @@ module.exports = {
|
|||
ref: 'origin/deploy_test',
|
||||
repo: 'https://fred.collinduncan.com/collin/autobaan.git',
|
||||
path: '/root/autobaan',
|
||||
'post-deploy': 'npm install',
|
||||
'post-deploy': 'npm install && pm2 startOrRestart autobaan',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
"test:unit": "jest --config ./test/jest-unit.json",
|
||||
"migrations:generate": "npx typeorm-ts-node-commonjs migration:generate -d data-source.ts database/migrations/$npm_config_name",
|
||||
"migrations": "npx typeorm-ts-node-commonjs migration:run -d data-source.ts",
|
||||
"deploy": "pm2 deploy production && pm2 deploy production exec \"pm2 startOrRestart autobaan\""
|
||||
"deploy": "pm2 deploy production"
|
||||
},
|
||||
"dependencies": {
|
||||
"@nestjs/bull": "^0.6.3",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue