Update deploy workflow to use rsync with --archive flag
This commit is contained in:
parent
af70075588
commit
e2f0aecf95
@ -1,5 +1,8 @@
|
||||
name: Deploy
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -25,4 +28,4 @@ jobs:
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: website
|
||||
- run: rsync --delete-after -a ./ /var/www/popov.link/
|
||||
- run: rsync --archive --delete-after ./ /var/www/popov.link/
|
||||
|
Loading…
Reference in New Issue
Block a user