.build.yml: Use rsync's --delete option

This commit is contained in:
Sergio Durigan Junior 2023-04-17 15:49:46 -04:00
parent 07f1197d7d
commit dea1e2643b

View file

@ -16,7 +16,7 @@ tasks:
sshopts="ssh -p 6722 -o StrictHostKeyChecking=no"
cd blog
/usr/bin/rsync --verbose --compress --archive --recursive \
--progress --checksum --rsh="$sshopts" \
--progress --checksum --delete --rsh="$sshopts" \
public/ blog@sergiodj.net:/home/blog/blog.sergiodj.net/
triggers:
- action: email