Fetch a web page after restarting apache when updating production demo
This commit is contained in:
parent
bae33491b6
commit
9b9bd8ea0f
2
fabfile.py
vendored
2
fabfile.py
vendored
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue