automated django receive hook on server: respond to collectstatic with "yes"
python manage.py collectstatic --noinput
If you'd like to specify the default answer, you could also just pipe it into the command:
$ echo yes | python manage.py collectstatic
or
$ echo no | python manage.py collectstatic