dont change the ownership?
This commit is contained in:
		
							parent
							
								
									23bb520834
								
							
						
					
					
						commit
						1fcc7b65a4
					
				
							
								
								
									
										2
									
								
								publish
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								publish
									
									
									
									
									
								
							@ -5,7 +5,7 @@ git add .;git commit -m"$@";git push -u origin master
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
rm -rf public                                  # destroy the old build first 
 | 
					rm -rf public                                  # destroy the old build first 
 | 
				
			||||||
hugo                                           # build the new site
 | 
					hugo                                           # build the new site
 | 
				
			||||||
sudo chown -R gmgauthier:www-data ./public/*   # set the ownership before transfer
 | 
					# sudo chown -R gmgauthier:www-data ./public/*   # set the ownership before transfer
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
rsync --super -avh -e ssh ./public/* gmgauthier@socrates:/home/gmgauthier/gmgauthier.com
 | 
					rsync --super -avh -e ssh ./public/* gmgauthier@socrates:/home/gmgauthier/gmgauthier.com
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user