recover reset to get CI running again

This commit is contained in:
Moriz Wahl 2021-11-30 09:18:57 +01:00
parent 50e98bdc46
commit 6eedde23af
3 changed files with 3 additions and 2 deletions

View File

@ -657,4 +657,4 @@ jobs:
- name: database | up
run: docker-compose -f docker-compose.yml run -T database yarn up
- name: database | reset
run: docker-compose -f docker-compose.yml run -T database yarn dev_reset
run: docker-compose -f docker-compose.yml run -T database yarn reset

View File

@ -121,7 +121,7 @@ CMD /bin/sh -c "yarn run up"
# FROM production as production_reset
# Run command
# CMD /bin/sh -c "yarn run reset"
CMD /bin/sh -c "yarn run reset"
##################################################################################
# PRODUCTION DOWN ################################################################

View File

@ -12,6 +12,7 @@
"clean": "tsc --build --clean",
"up": "cd build && node src/index.js up",
"down": "cd build && node src/index.js down",
"reset": "cd build && node src/index.js reset",
"dev_up": "nodemon -w ./ --ext ts --exec ts-node src/index.ts up",
"dev_down": "nodemon -w ./ --ext ts --exec ts-node src/index.ts down",
"dev_reset": "nodemon -w ./ --ext ts --exec ts-node src/index.ts reset",