Updating deploy script and cicd name
Some checks failed
ci/woodpecker/push/test-and-deploy Pipeline failed

This commit is contained in:
Collin Duncan 2025-04-28 21:45:07 +02:00
parent d84c23bdeb
commit a78444749c
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@ when:
- event: manual - event: manual
steps: steps:
- name: test - name: test-and-deploy
image: docker.io/node:hydrogen image: docker.io/node:hydrogen
volumes: volumes:
- /etc/ssh:/etc/ssh - /etc/ssh:/etc/ssh

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" "deploy": "pm2 deploy production && pm2 deploy production exec \"pm2 restart autobaan\""
}, },
"dependencies": { "dependencies": {
"@nestjs/bull": "^0.6.3", "@nestjs/bull": "^0.6.3",