|  | @@ -0,0 +1,19 @@
 | 
	
		
			
				|  |  | +#!/bin/bash
 | 
	
		
			
				|  |  | +# Deploy to www.jovian-hersemeule.eu
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +gitRoot=`git rev-parse --show-toplevel`
 | 
	
		
			
				|  |  | +from="$gitRoot/web/"
 | 
	
		
			
				|  |  | +host='ftp.cluster021.hosting.ovh.net'
 | 
	
		
			
				|  |  | +port='21'
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +bash "$gitRoot/undeployed/scripts/deploy/up-date.sh"
 | 
	
		
			
				|  |  | +bash "$gitRoot/undeployed/scripts/deploy/up-version.sh"
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +read -s -p "[deploy] password for $host: " password
 | 
	
		
			
				|  |  | +echo
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +# ftp operation
 | 
	
		
			
				|  |  | +echo $password
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +git checkout -- "$gitRoot/web/include/generated/date.txt"
 | 
	
		
			
				|  |  | +git checkout -- "$gitRoot/web/include/generated/version.txt"
 |