Fetch a web page after restarting apache when updating production demo

This commit is contained in:
Lance Edgar 2016-12-16 21:23:35 -06:00
parent bae33491b6
commit 9b9bd8ea0f

2
fabfile.py vendored
View file

@ -55,3 +55,5 @@ def update_production(all='false'):
with cd('/srv/envs/demo'):
sudo('bin/alembic --config=app/rattail.conf upgrade heads', user='rattail')
sudo('service apache2 restart')
run('curl --output demo.html https://rattailproject.org/demo/')
run('rm demo.html')