.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"
|
sshopts="ssh -p 6722 -o StrictHostKeyChecking=no"
|
||||||
cd blog
|
cd blog
|
||||||
/usr/bin/rsync --verbose --compress --archive --recursive \
|
/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/
|
public/ blog@sergiodj.net:/home/blog/blog.sergiodj.net/
|
||||||
triggers:
|
triggers:
|
||||||
- action: email
|
- action: email
|
||||||
|
|
Loading…
Reference in a new issue