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:
Sam Collins 2016-10-08 22:55:02 +01:00 committed by Daniel Roy Greenfeld
parent 04a58d5b21
commit 52e84608be

View File

@ -1,6 +1,6 @@
container_commands:
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
02_collectstatic:
command: "source /opt/python/run/venv/bin/activate && python manage.py collectstatic --noinput"