Add a Makefile with a deploy target
This commit is contained in:
		
							parent
							
								
									653373a5eb
								
							
						
					
					
						commit
						cb3818fd57
					
				
					 1 changed files with 9 additions and 0 deletions
				
			
		
							
								
								
									
										9
									
								
								Makefile
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								Makefile
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,9 @@
 | 
			
		|||
# Eryn Wells <eryn@erynwells.me>
 | 
			
		||||
 | 
			
		||||
DEPLOY_LOCATION=eryn@nutmeg.erynwells.me:/srv/www/erynwells.me/html
 | 
			
		||||
 | 
			
		||||
.PHONY: deploy
 | 
			
		||||
deploy:
 | 
			
		||||
	hugo
 | 
			
		||||
	rsync -avz --no-times --no-perms --delete public/ $(DEPLOY_LOCATION)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue