Fetch a web page after restarting apache when updating production demo
This commit is contained in:
		
							parent
							
								
									bae33491b6
								
							
						
					
					
						commit
						9b9bd8ea0f
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		
							
								
								
									
										2
									
								
								fabfile.py
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								fabfile.py
									
										
									
									
										vendored
									
									
								
							|  | @ -55,3 +55,5 @@ def update_production(all='false'): | ||||||
|     with cd('/srv/envs/demo'): |     with cd('/srv/envs/demo'): | ||||||
|         sudo('bin/alembic --config=app/rattail.conf upgrade heads', user='rattail') |         sudo('bin/alembic --config=app/rattail.conf upgrade heads', user='rattail') | ||||||
|     sudo('service apache2 restart') |     sudo('service apache2 restart') | ||||||
|  |     run('curl --output demo.html https://rattailproject.org/demo/') | ||||||
|  |     run('rm demo.html') | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar