Update deploy workflow to use rsync with --archive flag

This commit is contained in:
Valentin Popov 2024-09-11 20:09:29 +00:00
parent af70075588
commit e2f0aecf95
Signed by: Valentin Popov
GPG Key ID: AE3CE523DAAA8401

View File

@ -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/