Updating deploy script and cicd name
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
d84c23bdeb
commit
a78444749c
2 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ when:
|
|||
- event: manual
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
- name: test-and-deploy
|
||||
image: docker.io/node:hydrogen
|
||||
volumes:
|
||||
- /etc/ssh:/etc/ssh
|
||||
|
|
@ -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"
|
||||
"deploy": "pm2 deploy production && pm2 deploy production exec \"pm2 restart autobaan\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@nestjs/bull": "^0.6.3",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue