mirror of
				https://github.com/valentineus/popov.link.git
				synced 2025-11-03 22:39:44 +03:00 
			
		
		
		
	Update deploy workflow to use rsync with --archive flag
This commit is contained in:
		@@ -1,5 +1,8 @@
 | 
				
			|||||||
name: Deploy
 | 
					name: Deploy
 | 
				
			||||||
on: [push, pull_request]
 | 
					on:
 | 
				
			||||||
 | 
					  push:
 | 
				
			||||||
 | 
					    branches:
 | 
				
			||||||
 | 
					      - master
 | 
				
			||||||
 | 
					
 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
  build:
 | 
					  build:
 | 
				
			||||||
@@ -25,4 +28,4 @@ jobs:
 | 
				
			|||||||
      - uses: actions/download-artifact@v3
 | 
					      - uses: actions/download-artifact@v3
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          name: website
 | 
					          name: website
 | 
				
			||||||
      - run: rsync --delete-after -a ./ /var/www/popov.link/
 | 
					      - run: rsync --archive --delete-after ./ /var/www/popov.link/
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user