From 9b9bd8ea0f08296a98fd5d4865d413a2ef25c7e5 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Fri, 16 Dec 2016 21:23:35 -0600 Subject: [PATCH] Fetch a web page after restarting apache when updating production demo --- fabfile.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fabfile.py b/fabfile.py index 8113230..a24448e 100644 --- a/fabfile.py +++ b/fabfile.py @@ -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')