Create and seed DB
This commit is contained in:
parent
c5e1c96e36
commit
85084a3e44
|
@ -152,6 +152,8 @@ deploy-prod:
|
|||
- docker compose -f docker-compose.yml --profile all --env-file $ENV_PROD_FILE rm -f
|
||||
- docker compose -f docker-compose.yml --profile all --env-file $ENV_PROD_FILE pull
|
||||
- docker compose -f docker-compose.yml --profile all --env-file $ENV_PROD_FILE up -d
|
||||
- docker compose -f docker-compose.yml --profile all --env-file $ENV_PROD_FILE exec api python manage.py recreate_db
|
||||
- docker compose -f docker-compose.yml --profile all --env-file $ENV_PROD_FILE exec api python manage.py seed_db
|
||||
needs:
|
||||
- job: deliver-dockerhub
|
||||
- job: preparation
|
||||
|
|
Loading…
Reference in New Issue