Changing where the deploy action comes from
Some checks failed
ci/woodpecker/push/test-and-deploy Pipeline failed

This commit is contained in:
Collin Duncan 2025-04-29 09:41:23 +02:00
parent 42da932301
commit 21495eea58
No known key found for this signature in database
3 changed files with 13421 additions and 13421 deletions

View file

@ -13,7 +13,7 @@ module.exports = {
ref: 'origin/deploy_test', ref: 'origin/deploy_test',
repo: 'https://fred.collinduncan.com/collin/autobaan.git', repo: 'https://fred.collinduncan.com/collin/autobaan.git',
path: '/root/autobaan', path: '/root/autobaan',
'post-deploy': 'npm install', 'post-deploy': 'npm install && pm2 startOrRestart autobaan',
}, },
}, },
} }

View file

@ -20,7 +20,7 @@
"test:unit": "jest --config ./test/jest-unit.json", "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: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", "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": { "dependencies": {
"@nestjs/bull": "^0.6.3", "@nestjs/bull": "^0.6.3",