Added --noinput to migate command

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 21:05:28 +01:00 committed by GitHub
parent 04a58d5b21
commit 184a434a94

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"