.build.yml: Use rsync's --delete option
This commit is contained in:
parent
07f1197d7d
commit
dea1e2643b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue