migrated to markdown. Deleted scripts in favor of justfile.
This commit is contained in:
		
							parent
							
								
									48b0facc76
								
							
						
					
					
						commit
						e763ca78ed
					
				
					 14 changed files with 166 additions and 228 deletions
				
			
		
							
								
								
									
										10
									
								
								justfile
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								justfile
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,10 @@
 | 
			
		|||
preview:
 | 
			
		||||
    hugo serve --buildDrafts --buildExpired --buildFuture --navigateToChanged
 | 
			
		||||
 | 
			
		||||
USER:='root'
 | 
			
		||||
HOST:='10.10.1.5'
 | 
			
		||||
DIR:='/srv/gabevenberg'
 | 
			
		||||
 | 
			
		||||
deploy:
 | 
			
		||||
    hugo --minify
 | 
			
		||||
    rsync -rvz --delete public/ {{USER}}@{{HOST}}:{{DIR}} # this will delete everything on the server that's not in the local public folder
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue