add a publish command
This commit is contained in:
		
							parent
							
								
									3548e607cc
								
							
						
					
					
						commit
						eaf4dd165e
					
				
							
								
								
									
										16
									
								
								publish
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										16
									
								
								publish
									
									
									
									
									
										Executable file
									
								
							@ -0,0 +1,16 @@
 | 
				
			|||||||
 | 
					#!/usr/bin/env sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# commit and push...
 | 
				
			||||||
 | 
					git add .;git commit -m"$@";git push -u origin master
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					echo "Rsync to host..."
 | 
				
			||||||
 | 
					rsync --super -avh -e ssh ./css/* gmgauthier@socrates:/var/www/oldcomputernerd.com
 | 
				
			||||||
 | 
					rsync --super -avh -e ssh ./font/* gmgauthier@socrates:/var/www/oldcomputernerd.com
 | 
				
			||||||
 | 
					rsync --super -avh -e ssh ./img/* gmgauthier@socrates:/var/www/oldcomputernerd.com
 | 
				
			||||||
 | 
					rsync --super -avh -e ssh ./htm/* gmgauthier@socrates:/var/www/oldcomputernerd.com
 | 
				
			||||||
 | 
					rsync --super -avh -e ssh ./md/* gmgauthier@socrates:/var/www/oldcomputernerd.com
 | 
				
			||||||
 | 
					rsync --super -avh -e ssh ./txt/* gmgauthier@socrates:/var/www/oldcomputernerd.com
 | 
				
			||||||
 | 
					rsync --super -avh -e ssh ./*.html gmgauthier@socrates:/var/www/oldcomputernerd.com
 | 
				
			||||||
 | 
					rsync --super -avh -e ssh ./*.md gmgauthier@socrates:/var/www/oldcomputernerd.com
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user