mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-01-23 15:54:12 +03:00
Added --noinput to migate command (#842)
When deploying with a stale content type the migration command can ask for user input which fails the deployment.
This commit is contained in:
parent
04a58d5b21
commit
52e84608be
|
@ -1,6 +1,6 @@
|
||||||
container_commands:
|
container_commands:
|
||||||
01_migrate:
|
01_migrate:
|
||||||
command: "source /opt/python/run/venv/bin/activate && python manage.py migrate"
|
command: "source /opt/python/run/venv/bin/activate && python manage.py migrate --noinput"
|
||||||
leader_only: True
|
leader_only: True
|
||||||
02_collectstatic:
|
02_collectstatic:
|
||||||
command: "source /opt/python/run/venv/bin/activate && python manage.py collectstatic --noinput"
|
command: "source /opt/python/run/venv/bin/activate && python manage.py collectstatic --noinput"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user